unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Safe variables in sort.el
@ 2007-08-21 17:25 Reiner Steib
  2007-08-22  3:15 ` Richard Stallman
  0 siblings, 1 reply; 3+ messages in thread
From: Reiner Steib @ 2007-08-21 17:25 UTC (permalink / raw)
  To: emacs-devel

Hi,

I think `sort-fold-case' and `sort-numeric-base' should be marked as
safe and the change should go to Emacs 22.2 as well.  Any objection?

--8<---------------cut here---------------start------------->8---
--- sort.el	04 Aug 2007 20:36:16 +0200	1.62
+++ sort.el	21 Aug 2007 19:21:35 +0200	
@@ -39,6 +39,7 @@
   "*Non-nil if the buffer sort functions should ignore case."
   :group 'sort
   :type 'boolean)
+;;;###autoload(put 'sort-fold-case 'safe-local-variable 'booleanp)
 
 ;;;###autoload
 (defun sort-subr (reverse nextrecfun endrecfun
@@ -258,6 +259,7 @@
   "*The default base used by `sort-numeric-fields'."
   :group 'sort
   :type 'integer)
+;;;###autoload(put 'sort-numeric-base 'safe-local-variable 'integerp)
 
 ;;;###autoload
 (defun sort-numeric-fields (field beg end)
--8<---------------cut here---------------end--------------->8---

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

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

* Re: Safe variables in sort.el
  2007-08-21 17:25 Safe variables in sort.el Reiner Steib
@ 2007-08-22  3:15 ` Richard Stallman
  2007-08-22 19:42   ` Reiner Steib
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Stallman @ 2007-08-22  3:15 UTC (permalink / raw)
  To: Reiner Steib; +Cc: emacs-devel

Please install it.

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

* Re: Safe variables in sort.el
  2007-08-22  3:15 ` Richard Stallman
@ 2007-08-22 19:42   ` Reiner Steib
  0 siblings, 0 replies; 3+ messages in thread
From: Reiner Steib @ 2007-08-22 19:42 UTC (permalink / raw)
  To: Richard Stallman; +Cc: emacs-devel

On Wed, Aug 22 2007, Richard Stallman wrote:

> Please install it.

Installed in EMACS_22_BASE.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

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

end of thread, other threads:[~2007-08-22 19:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-21 17:25 Safe variables in sort.el Reiner Steib
2007-08-22  3:15 ` Richard Stallman
2007-08-22 19:42   ` Reiner Steib

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).