all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Leo <sdl.web@gmail.com>
Cc: emacs-pretest-bug@gnu.org, 4664@emacsbugs.donarmstrong.com
Subject: bug#4664: 23.1.50; local variables completions
Date: Wed, 07 Oct 2009 10:34:03 -0400	[thread overview]
Message-ID: <jwvzl83uvcp.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <m08wfn3168.fsf@cam.ac.uk> (Leo's message of "Wed, 07 Oct 2009 12:15:27 +0100")

> For example, completions in add-file-local-variable do not include local
> variables such as auto-fill-function. Could this be improved?

Thanks, I installed the patch below which should help,


        Stefan


=== modified file 'lisp/files-x.el'
--- lisp/files-x.el	2009-10-04 07:44:39 +0000
+++ lisp/files-x.el	2009-10-07 14:30:53 +0000
@@ -49,6 +49,7 @@
 	   obarray
 	   (lambda (sym)
 	     (or (user-variable-p sym)
+                 (get sym 'safe-local-variable)
 		 (memq sym '(mode eval coding unibyte))))
 	   nil nil nil default nil))
     (and (stringp variable) (intern variable))))








  reply	other threads:[~2009-10-07 14:34 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <xbaipr8yncbp.fsf@cam.ac.uk>
2009-10-07 11:15 ` bug#4664: 23.1.50; local variables completions Leo
2009-10-07 14:34   ` Stefan Monnier [this message]
     [not found]     ` <87pr8yanj1.fsf@mail.jurta.org>
2009-10-08  1:10       ` Stefan Monnier
2009-10-08  6:54         ` Leo
2009-10-08  9:22           ` Juri Linkov
2009-10-08 11:58             ` Leo
2009-10-09 19:26             ` Stefan Monnier
2009-10-11 23:54               ` Juri Linkov
2009-10-12 15:49                 ` Leo
2009-10-12 20:31                   ` Juri Linkov
2009-10-13 11:17                     ` Leo
2009-10-13 19:52                       ` Stefan Monnier
2009-10-13 22:35                         ` Juri Linkov
2009-10-14  1:16                           ` Leo
2009-10-07 21:15   ` bug#4664: marked as done (23.1.50; local variables completions) Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvzl83uvcp.fsf-monnier+emacsbugreports@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=4664@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=sdl.web@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.