help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

edit-tab-stops complaint


From: Alan
Subject: edit-tab-stops complaint
Date: Mon, 25 May 2015 04:14:21 -0700 (PDT)
User-agent: G2/1.0

The "edit-tab-stops" function does not respect my setting of "tab-stop-list" in 
a file, containing at the bottom:

;; Local Variables:
;; mode: text
;; tab-stop-list: (20 30 40 50 60)
;; End:

I am using:

"GNU Emacs 24.4.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21)
 of 2014-10-20 on builder10-9.porkrind.org"

I can fix this, by modifying the "edit-tab-stops" function in "indent.el" so 
that the line:

  (let ((tabs tab-stop-list))

is before the line:

  (switch-to-buffer (get-buffer-create "*Tab Stops*"))

With this change, my edit of the tab stops starts with the values present in 
"tab-stop-list" in the current buffer.  Without this change, each use of 
"edit-tab-stops" starts from no tab stops set.

I've checked the version of "indent.el" at:

http://cvs.savannah.gnu.org/viewvc/emacs/lisp/indent.el?root=emacs&view=markup

and it would draw the same complaint from me.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]