unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* directory-listing-before-filename-regexp
@ 2006-01-04 21:57 Drew Adams
  2006-01-05 16:36 ` directory-listing-before-filename-regexp Richard M. Stallman
  2006-01-06 13:06 ` directory-listing-before-filename-regexp Eli Zaretskii
  0 siblings, 2 replies; 6+ messages in thread
From: Drew Adams @ 2006-01-04 21:57 UTC (permalink / raw)


Apparently, directory-listing-before-filename-regexp was created to replace
dired-move-to-filename-regexp. The new var is used in several files.

I didn't notice any alias to the old name (perhaps I missed it). That would
be helpful, particularly to ease compatibility for external libraries.

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

* Re: directory-listing-before-filename-regexp
  2006-01-04 21:57 directory-listing-before-filename-regexp Drew Adams
@ 2006-01-05 16:36 ` Richard M. Stallman
  2006-01-06 13:06 ` directory-listing-before-filename-regexp Eli Zaretskii
  1 sibling, 0 replies; 6+ messages in thread
From: Richard M. Stallman @ 2006-01-05 16:36 UTC (permalink / raw)
  Cc: emacs-devel

    Apparently, directory-listing-before-filename-regexp was created to replace
    dired-move-to-filename-regexp. The new var is used in several files.

    I didn't notice any alias to the old name (perhaps I missed it). That would
    be helpful, particularly to ease compatibility for external libraries.

The meaning of the new variable seems to be the same as the old,
so an alias would be good to add.

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

* Re: directory-listing-before-filename-regexp
  2006-01-04 21:57 directory-listing-before-filename-regexp Drew Adams
  2006-01-05 16:36 ` directory-listing-before-filename-regexp Richard M. Stallman
@ 2006-01-06 13:06 ` Eli Zaretskii
  2006-01-07  4:23   ` directory-listing-before-filename-regexp Richard M. Stallman
  1 sibling, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2006-01-06 13:06 UTC (permalink / raw)
  Cc: emacs-devel

> From: "Drew Adams" <drew.adams@oracle.com>
> Date: Wed, 4 Jan 2006 13:57:16 -0800
> 
> Apparently, directory-listing-before-filename-regexp was created to replace
> dired-move-to-filename-regexp. The new var is used in several files.
> 
> I didn't notice any alias to the old name (perhaps I missed it). That would
> be helpful, particularly to ease compatibility for external libraries.

I don't think we can simply defvaralias in this case, since
directory-listing-before-filename-regexp is not used the same as
dired-move-to-filename-regexp was.  Please compare the code of
dired-move-to-file-name in v21.4 and in the current CVS, and you will
see that these two variables are not equivalent.

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

* Re: directory-listing-before-filename-regexp
  2006-01-06 13:06 ` directory-listing-before-filename-regexp Eli Zaretskii
@ 2006-01-07  4:23   ` Richard M. Stallman
  2006-01-07  9:13     ` directory-listing-before-filename-regexp Eli Zaretskii
  2006-01-07 15:41     ` directory-listing-before-filename-regexp Drew Adams
  0 siblings, 2 replies; 6+ messages in thread
From: Richard M. Stallman @ 2006-01-07  4:23 UTC (permalink / raw)
  Cc: drew.adams, emacs-devel

    I don't think we can simply defvaralias in this case, since
    directory-listing-before-filename-regexp is not used the same as
    dired-move-to-filename-regexp was.

The doc strings say they have the same meaning.  So if they do not
in fact have the same meaning, one of the doc strings must be wrong.

Is the current variable's doc string wrong?
\

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

* Re: directory-listing-before-filename-regexp
  2006-01-07  4:23   ` directory-listing-before-filename-regexp Richard M. Stallman
@ 2006-01-07  9:13     ` Eli Zaretskii
  2006-01-07 15:41     ` directory-listing-before-filename-regexp Drew Adams
  1 sibling, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2006-01-07  9:13 UTC (permalink / raw)
  Cc: drew.adams, emacs-devel

> From: "Richard M. Stallman" <rms@gnu.org>
> CC: drew.adams@oracle.com, emacs-devel@gnu.org
> Date: Fri, 06 Jan 2006 23:23:16 -0500
> 
>     I don't think we can simply defvaralias in this case, since
>     directory-listing-before-filename-regexp is not used the same as
>     dired-move-to-filename-regexp was.
> 
> The doc strings say they have the same meaning.  So if they do not
> in fact have the same meaning, one of the doc strings must be wrong.
> 
> Is the current variable's doc string wrong?

No, it isn't wrong.  It seems like I misunderstood the code in
dired-move-to-filename.  Sorry.

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

* RE: directory-listing-before-filename-regexp
  2006-01-07  4:23   ` directory-listing-before-filename-regexp Richard M. Stallman
  2006-01-07  9:13     ` directory-listing-before-filename-regexp Eli Zaretskii
@ 2006-01-07 15:41     ` Drew Adams
  1 sibling, 0 replies; 6+ messages in thread
From: Drew Adams @ 2006-01-07 15:41 UTC (permalink / raw)


        I don't think we can simply defvaralias in this case, since
        directory-listing-before-filename-regexp is not used the same as
        dired-move-to-filename-regexp was.

    The doc strings say they have the same meaning.  So if they do not
    in fact have the same meaning, one of the doc strings must be wrong.

    Is the current variable's doc string wrong?

Someone more familiar with this may correct me, but I think they are the
same thing within Dired.

I believe that the change was to add this elsewhere as well, and that change
alone (even if the behavior elsewhere was similar) makes them different
(different contexts).

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

end of thread, other threads:[~2006-01-07 15:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-04 21:57 directory-listing-before-filename-regexp Drew Adams
2006-01-05 16:36 ` directory-listing-before-filename-regexp Richard M. Stallman
2006-01-06 13:06 ` directory-listing-before-filename-regexp Eli Zaretskii
2006-01-07  4:23   ` directory-listing-before-filename-regexp Richard M. Stallman
2006-01-07  9:13     ` directory-listing-before-filename-regexp Eli Zaretskii
2006-01-07 15:41     ` directory-listing-before-filename-regexp Drew Adams

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