unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Shynur Xie <one.last.kiss@outlook.com>
To: 64281@debbugs.gnu.org
Subject: bug#64281: [Feature Request] Recognize “#” syntax when reading local-variables
Date: Sun, 25 Jun 2023 11:54:02 +0000	[thread overview]
Message-ID: <PH0PR11MB7470978671A99E1FC8842592D721A@PH0PR11MB7470.namprd11.prod.outlook.com> (raw)

For example, if I want to use UTF-8-UNIX only for files directly under
directory DIR, and those under DIR/SUBDIR/ or its subdirectories, I
can write this way:

    ((nil . ((subdirs . nil)
               . #1=((coding . utf-8-unix))))
     ("SUBDIR" . ((nil . #1#))))

If “#” can be recognized when reading local-variables, we can write
“((coding . utf-8-unix))” only once.  Thanks.

--
shynur




             reply	other threads:[~2023-06-25 11:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-25 11:54 Shynur Xie [this message]
2023-06-25 13:53 ` bug#64281: [Feature Request] Recognize “#” syntax Shynur Xie
2023-06-25 15:08   ` Eli Zaretskii
2023-06-25 15:46     ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-06-25 16:16       ` Drew Adams
2023-06-26 10:21         ` Shynur Xie
2023-06-26 12:21       ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=PH0PR11MB7470978671A99E1FC8842592D721A@PH0PR11MB7470.namprd11.prod.outlook.com \
    --to=one.last.kiss@outlook.com \
    --cc=64281@debbugs.gnu.org \
    /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 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).