From: Dan Nicolaescu <dann@ics.uci.edu>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: log-edit-strip-single-file-name
Date: Fri, 5 Feb 2010 20:26:22 -0800 (PST) [thread overview]
Message-ID: <201002060426.o164QMaa000423@godzilla.ics.uci.edu> (raw)
In-Reply-To: <jwvfx5hroyj.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Thu, 04 Feb 2010 10:40:31 -0500")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> > (the code that sets the local variables in
> > hack-dir-local-variables-non-file-buffer should be put in a function
> > that is also called from hack-local-variables).
>
> Yes, that would make sense.
>
> > - (let ((variables-file (dir-locals-find-file (buffer-file-name)))
> > + (let ((variables-file (dir-locals-find-file (or dname (buffer-file-name))))
>
> Why (or dname (buffer-file-name)) rather than (or buffer-file-name default-directory)?
It looked clearer to me.
Can this patch go in?
next prev parent reply other threads:[~2010-02-06 4:26 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-31 3:21 commit style redux Miles Bader
2009-04-01 0:57 ` Stefan Monnier
2010-01-16 3:00 ` Glenn Morris
2010-01-16 7:03 ` Juanma Barranquero
2010-01-16 9:10 ` Thien-Thi Nguyen
2010-01-27 4:25 ` Glenn Morris
2010-01-27 14:57 ` Stefan Monnier
2010-01-28 5:30 ` log-edit-strip-single-file-name [was Re: commit style redux] Glenn Morris
2010-01-28 19:25 ` log-edit-strip-single-file-name Stefan Monnier
2010-01-28 23:13 ` log-edit-strip-single-file-name Stefan Monnier
2010-01-29 3:06 ` log-edit-strip-single-file-name Dan Nicolaescu
2010-01-29 8:20 ` log-edit-strip-single-file-name Dan Nicolaescu
2010-01-29 17:58 ` log-edit-strip-single-file-name Stefan Monnier
2010-02-04 7:51 ` log-edit-strip-single-file-name Dan Nicolaescu
2010-02-04 15:40 ` log-edit-strip-single-file-name Stefan Monnier
2010-02-06 4:26 ` Dan Nicolaescu [this message]
2010-02-06 14:28 ` log-edit-strip-single-file-name Stefan Monnier
2010-02-06 19:18 ` log-edit-strip-single-file-name Dan Nicolaescu
2010-02-08 1:28 ` log-edit-strip-single-file-name Stefan Monnier
2010-01-30 22:57 ` log-edit-strip-single-file-name Juri Linkov
2010-01-31 6:56 ` log-edit-strip-single-file-name Stefan Monnier
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=201002060426.o164QMaa000423@godzilla.ics.uci.edu \
--to=dann@ics.uci.edu \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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).