unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#977: 23.0.60; doc string of `filesets-data'
@ 2008-09-13 17:23 Drew Adams
  0 siblings, 0 replies; 3+ messages in thread
From: Drew Adams @ 2008-09-13 17:23 UTC (permalink / raw)
  To: emacs-pretest-bug

This part of the doc string is incorrect:
 
  :pattern DIR PATTERN ... PATTERN is a regular expression
  comprising path and file pattern -- e.g. 'PATH/^REGEXP$'.
  Note the `^' at the beginning of the file name pattern.
 
I think this text reflects an older version of filesets.el, before the
change in :pattern format. See doc string of
`filesets-update-pre010505' for an explanation of the change in
format.
 
IIUC, DIR is a pattern that matches a directory and PATTERN is a
pattern that matches files (and subdirs) in that directory.  The old
format combinded DIR and PATTERN in one regexp, but they are now
separated, so the text about PATTERN "comprising path and file pattern
-- e.g. 'PATH/^REGEXP$'" is simply wrong.  (Besides which, we don't
use "path" this way in the Emacs doc - we use "directory" instead.)
 

In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
 of 2008-09-03 on LENNART-69DE564
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include
-fno-crossjumping'
 







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

* bug#977: 23.0.60; doc string of `filesets-data'
@ 2008-10-22 20:46 Chong Yidong
  2008-10-23  4:36 ` Tom Link
  0 siblings, 1 reply; 3+ messages in thread
From: Chong Yidong @ 2008-10-22 20:46 UTC (permalink / raw)
  To: Thomas Link; +Cc: 977

Hi Thomas, here's a documentation bug report for filesets.el:

> This part of the doc string is incorrect:
> 
>   :pattern DIR PATTERN ... PATTERN is a regular expression
>   comprising path and file pattern -- e.g. 'PATH/^REGEXP$'.
>   Note the `^' at the beginning of the file name pattern.
> 
> I think this text reflects an older version of filesets.el, before the
> change in :pattern format. See doc string of
> `filesets-update-pre010505' for an explanation of the change in
> format.
> 
> IIUC, DIR is a pattern that matches a directory and PATTERN is a
> pattern that matches files (and subdirs) in that directory.  The old
> format combinded DIR and PATTERN in one regexp, but they are now
> separated, so the text about PATTERN "comprising path and file pattern
> -- e.g. 'PATH/^REGEXP$'" is simply wrong.  (Besides which, we don't
> use "path" this way in the Emacs doc - we use "directory" instead.)

What's the difference between :tree and :pattern here?






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

* bug#977: 23.0.60; doc string of `filesets-data'
  2008-10-22 20:46 bug#977: 23.0.60; doc string of `filesets-data' Chong Yidong
@ 2008-10-23  4:36 ` Tom Link
  0 siblings, 0 replies; 3+ messages in thread
From: Tom Link @ 2008-10-23  4:36 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 977


> What's the difference between :tree and :pattern here?
>   
IIRC pattern isn't recursive.








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

end of thread, other threads:[~2008-10-23  4:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-22 20:46 bug#977: 23.0.60; doc string of `filesets-data' Chong Yidong
2008-10-23  4:36 ` Tom Link
  -- strict thread matches above, loose matches on Subject: below --
2008-09-13 17:23 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).