Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								b3e81d58aa 
								
							 
						 
						
							
							
								
								I have been increasingly annoyed about the fact that  
							
							... 
							
							
							
							add-change-log-entry-other-window is so bad about guessing the proper
name of Python functions, methods and variables, so finally I wrote
the following (unidiff patch against python-mode.el 2.73):
Per Cederqvist <ceder@signum.se> 
							
						 
						
							1996-09-04 15:12:42 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								01af401e27 
								
							 
						 
						
							
							
								
								#stylistics  
							
							
							
						 
						
							1996-09-04 14:57:22 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								550a02e6ae 
								
							 
						 
						
							
							
								
								(python-mode): typos  
							
							
							
						 
						
							1996-09-04 14:23:00 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								615d4a458f 
								
							 
						 
						
							
							
								
								(python-mode): font-lock-defaults must be make-local-variable'd  
							
							
							
						 
						
							1996-09-04 14:14:10 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								604cefa8df 
								
							 
						 
						
							
							
								
								(py-dump-help-string): Use documentation-property to get docstring.  
							
							
							
						 
						
							1996-09-03 18:17:04 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								b1f895150a 
								
							 
						 
						
							
							
								
								(python-mode): font-lock-defaults necessary for Emacs 19, but doesn't  
							
							... 
							
							
							
							hurt for XEmacs. 
							
						 
						
							1996-09-03 16:38:30 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								c72ad871ba 
								
							 
						 
						
							
							
								
								#py-shell gets an autoload cookie  
							
							
							
						 
						
							1996-09-03 16:16:04 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								261f87dac1 
								
							 
						 
						
							
							
								
								*** empty log message ***  
							
							
							
						 
						
							1996-08-20 19:57:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								f67a57efc4 
								
							 
						 
						
							
							
								
								(py-no-outdent-re): Added return, break, raise, continue since we  
							
							... 
							
							
							
							already outdent for those statements. 
							
						 
						
							1996-08-12 19:52:27 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								cf34d2a010 
								
							 
						 
						
							
							
								
								#updated commentary  
							
							
							
						 
						
							1996-08-06 15:57:58 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								5490a06fc7 
								
							 
						 
						
							
							
								
								(py-menu): Create default value  
							
							
							
						 
						
							1996-08-06 15:43:33 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								c5a8cbd35d 
								
							 
						 
						
							
							
								
								(py-forward-into-nomenclature): Slightly better regex for stopping on  
							
							... 
							
							
							
							underscore. 
							
						 
						
							1996-08-05 21:53:02 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								a766182f08 
								
							 
						 
						
							
							
								
								(py-electric-colon): Use (py-next-statement -1) instead of  
							
							... 
							
							
							
							(forward-line -1), to properly catch continued statements. 
							
						 
						
							1996-08-02 16:22:43 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								3fcaf61768 
								
							 
						 
						
							
							
								
								#updated comments  
							
							
							
						 
						
							1996-08-01 20:11:51 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								755c6714cc 
								
							 
						 
						
							
							
								
								(python-mode): automatically install imenu stuff.  
							
							
							
						 
						
							1996-08-01 20:02:55 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								8143746750 
								
							 
						 
						
							
							
								
								(imenu-example--python-show-method-args-p,  
							
							... 
							
							
							
							imenu-example--python-class-regexp,
imenu-example--python-method-regexp,
imenu-example--python-method-no-arg-parens,
imenu-example--python-method-arg-parens,
imenu-example--generic-python-expression,
imenu-example--python-generic-regexp,
imenu-example--python-generic-parens): New variables.
(imenu-example--create-python-index,
imenu-example--create-python-index-engine): New functions. 
							
						 
						
							1996-08-01 19:48:02 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								ce60bc7192 
								
							 
						 
						
							
							
								
								(py-keep-region-active): Zap duplicate defun.  
							
							
							
						 
						
							1996-08-01 18:17:14 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								6e527d2ca3 
								
							 
						 
						
							
							
								
								(py-delete-char): Check for py-honor-comment-indentation.  
							
							
							
						 
						
							1996-08-01 15:57:48 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								a7891718e1 
								
							 
						 
						
							
							
								
								(py-mode): comment-start is now "# " so indent-for-comment does the  
							
							... 
							
							
							
							right thing.
(py-comment-region): let-bind comment-start to "## " so commented
regions get transformed into non-indenting comment lines.
(py-compute-region): Implement modification to rule for recognizing
"indenting comment lines". 
							
						 
						
							1996-08-01 15:53:09 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								9e277db76b 
								
							 
						 
						
							
							
								
								#comment update  
							
							
							
						 
						
							1996-07-31 22:33:40 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								c08a949549 
								
							 
						 
						
							
							
								
								#comment update  
							
							
							
						 
						
							1996-07-31 22:27:58 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								5c0d00f553 
								
							 
						 
						
							
							
								
								#updated to do list  
							
							
							
						 
						
							1996-07-31 21:30:21 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								170ffa775d 
								
							 
						 
						
							
							
								
								(py-parse-state): stop searching backwards when we found a keyword at  
							
							... 
							
							
							
							column zero.  Perhaps a kludge, but similar in nature to Emacs'
beginning-of-defun shortcut. 
							
						 
						
							1996-07-31 20:57:22 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								f831d81999 
								
							 
						 
						
							
							
								
								(py-statement-closes-block-p, py-compute-indentation): Outdent one  
							
							... 
							
							
							
							level after a return, raise, break, or continue statement. 
							
						 
						
							1996-07-31 20:42:59 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								42f707f40f 
								
							 
						 
						
							
							
								
								(python-mode): Added menu support, requires easymenu.  
							
							
							
						 
						
							1996-07-29 21:05:05 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								c846f46113 
								
							 
						 
						
							
							
								
								(py-forward-into-nomenclature): small fix to not infinitely loop at  
							
							... 
							
							
							
							underscores. 
							
						 
						
							1996-07-25 18:53:17 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								fb3494276e 
								
							 
						 
						
							
							
								
								#comment update, re: py-mode-syntax-table  
							
							
							
						 
						
							1996-07-24 18:32:08 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								9e5a9c8c99 
								
							 
						 
						
							
							
								
								(py-forward-into-nomenclature, py-backward-into-nomenclature): New functions.  
							
							
							
						 
						
							1996-07-24 18:26:53 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								71e315b9d9 
								
							 
						 
						
							
							
								
								(py-shift-region-left): When checking for left edged code, watch for  
							
							... 
							
							
							
							blank lines. 
							
						 
						
							1996-07-23 15:03:16 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								fc9cc3a9ce 
								
							 
						 
						
							
							
								
								added a thing on the to-do list  
							
							
							
						 
						
							1996-07-08 22:37:06 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								44b7220b8b 
								
							 
						 
						
							
							
								
								(python-font-lock-keywords): added class and def  
							
							
							
						 
						
							1996-07-05 20:11:35 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								8e9d7d7e83 
								
							 
						 
						
							
							
								
								(py-mode-syntax-table): revert underscore to word class, even though I  
							
							... 
							
							
							
							don't agree with it. 
							
						 
						
							1996-07-03 23:15:51 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								039707399e 
								
							 
						 
						
							
							
								
								(py-delete-char): Obey numeric argument.  
							
							
							
						 
						
							1996-07-03 23:12:52 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								dea4a29e9a 
								
							 
						 
						
							
							
								
								(py-shift-region-left, py-shift-region-right, py-indent-right,  
							
							... 
							
							
							
							py-outdent-left, py-mode-map): Folded all functionality into
py-shift-region-* commands.  Bound C-c C-l to py-shift-region-left and
C-c C-r to py-shift-region-right.  Removed py-indent-right and
py-indent-left. 
							
						 
						
							1996-07-03 22:59:12 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								f2389a0b24 
								
							 
						 
						
							
							
								
								(py-indent-right, py-outdent-left): fixed placement of point after  
							
							... 
							
							
							
							adjustments. 
							
						 
						
							1996-04-08 23:05:56 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								43ecf8ee58 
								
							 
						 
						
							
							
								
								(py-parse-state): make sure we don't land inside a triple-quoted  
							
							... 
							
							
							
							string 
							
						 
						
							1996-04-06 00:00:19 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								5f204775bf 
								
							 
						 
						
							
							
								
								(py-indent-right, py-outdent-left): Watch out for (mark) returning  
							
							... 
							
							
							
							nil. 
							
						 
						
							1996-03-25 21:24:26 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								4669d7e415 
								
							 
						 
						
							
							
								
								#updated some comments  
							
							
							
						 
						
							1996-03-22 16:13:24 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								826255ba32 
								
							 
						 
						
							
							
								
								(py-indent-right, py-indent-left): support indentation of regions or  
							
							... 
							
							
							
							current line. 
							
						 
						
							1996-03-22 16:09:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								867a32ab53 
								
							 
						 
						
							
							
								
								(py-comment-region): obsoleted by comment-region  
							
							... 
							
							
							
							(python-mode): set comment-start to "## " for comment-region.
(py-mode-map): Bind C-c# to comment-region. 
							
						 
						
							1996-03-07 18:30:26 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								62d9d6ed40 
								
							 
						 
						
							
							
								
								(python-font-lock-keywords): make it a defconst  
							
							
							
						 
						
							1996-03-06 20:32:27 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								6d627754c1 
								
							 
						 
						
							
							
								
								(py-honor-comment-indentation, py-compute-indentation): allow other  
							
							... 
							
							
							
							than nil or t values. 
							
						 
						
							1996-03-06 18:41:38 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								33d6ec062e 
								
							 
						 
						
							
							
								
								(py-honor-comment-indentation): new variable.  
							
							... 
							
							
							
							(py-compute-indentation): use new variable. 
							
						 
						
							1996-03-05 16:28:07 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								6245a3ca3f 
								
							 
						 
						
							
							
								
								#removed font-lock cruft  
							
							
							
						 
						
							1996-03-05 16:20:19 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								33ab6e4915 
								
							 
						 
						
							
							
								
								(python-font-lock-keywords): Much improved descrimination between  
							
							... 
							
							
							
							keywords and names with keywords in them. 
							
						 
						
							1996-03-05 00:44:31 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								fd0fb38055 
								
							 
						 
						
							
							
								
								(py-compute-indentation): fix skipping backwards over comments by  
							
							... 
							
							
							
							using forward-comment (and Emacs 19 function) if available. 
							
						 
						
							1996-03-04 17:15:40 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								9fbcc6a6c2 
								
							 
						 
						
							
							
								
								(py-shell): Fixed Emacs 18 bug, use of boundp instead of fboundp.  
							
							
							
						 
						
							1996-01-23 22:52:02 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								17914f4e17 
								
							 
						 
						
							
							
								
								(py-indent-offset): Change default to 4.  
							
							
							
						 
						
							1995-11-03 18:25:15 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								2bbe49bf6f 
								
							 
						 
						
							
							
								
								changed underscore to have symbol syntax  
							
							
							
						 
						
							1995-10-18 14:41:12 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								52bc17cd9e 
								
							 
						 
						
							
							
								
								(py-indent-offset): this should be buffer local.  
							
							
							
						 
						
							1995-10-12 21:15:49 +00:00