unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* whitespace.el's permanent-locals
@ 2007-03-13 22:09 martin rudalics
  2007-03-14  4:59 ` Miles Bader
  0 siblings, 1 reply; 3+ messages in thread
From: martin rudalics @ 2007-03-13 22:09 UTC (permalink / raw)
  To: emacs-devel

whitespace.el has these lines:

     105:(put 'whitespace-mode 'permanent-local nil)
     110:(put 'whitespace-mode-line 'permanent-local nil)
     115:(put 'whitespace-check-buffer-leading 'permanent-local nil)
     120:(put 'whitespace-check-buffer-trailing 'permanent-local nil)
     125:(put 'whitespace-check-buffer-indent 'permanent-local nil)
     130:(put 'whitespace-check-buffer-spacetab 'permanent-local nil)
     135:(put 'whitespace-check-buffer-ateol 'permanent-local nil)
     140:(put 'whitespace-highlighted-space 'permanent-local nil)

I'd remove them.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: whitespace.el's permanent-locals
  2007-03-13 22:09 whitespace.el's permanent-locals martin rudalics
@ 2007-03-14  4:59 ` Miles Bader
  2007-03-14  9:33   ` martin rudalics
  0 siblings, 1 reply; 3+ messages in thread
From: Miles Bader @ 2007-03-14  4:59 UTC (permalink / raw)
  To: emacs-devel

martin rudalics <rudalics@gmx.at> writes:
> whitespace.el has these lines:
>     105:(put 'whitespace-mode 'permanent-local nil)
...
> I'd remove them.

I'm inclined to agree, but ... any idea why they were put there in the
first place?

-Miles
-- 
Next to fried food, the South has suffered most from oratory.
  			-- Walter Hines Page

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: whitespace.el's permanent-locals
  2007-03-14  4:59 ` Miles Bader
@ 2007-03-14  9:33   ` martin rudalics
  0 siblings, 0 replies; 3+ messages in thread
From: martin rudalics @ 2007-03-14  9:33 UTC (permalink / raw)
  To: Miles Bader; +Cc: emacs-devel

 > I'm inclined to agree, but ... any idea why they were put there in the
 > first place?

Putting a nil value into a symbol's property list makes sense iff I want
to keep a record that at some time a value was put there but is no more
needed.  Well, maybe also because I'm too lazy to remove an association.
But whitespace.el never puts anything but nil there, does that only when
it's loaded, and nowhere uses `plist-member'.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-03-14  9:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-13 22:09 whitespace.el's permanent-locals martin rudalics
2007-03-14  4:59 ` Miles Bader
2007-03-14  9:33   ` martin rudalics

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).