all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* BUG REPORT: `eval-and-compile'
@ 2003-02-27 23:58 Le Wang
  2003-02-28  0:55 ` Le Wang
  0 siblings, 1 reply; 2+ messages in thread
From: Le Wang @ 2003-02-27 23:58 UTC (permalink / raw)


Hi,

Unless I'm missing something really obvious...

This code:

(defvar le::no-backup-or-vc-regexp
  "regexp matching backup and vc files."
  (eval-and-compile
    (concat "\\(^\\|/\\)"               ; go to beginning of 'basename'
            "\\("
            "CVS\\|RCS\\|SCCS\\|"       ; version control stuff
            "\\.\\{1,2\\}\\|"           ; dot directories
            "\\.?#.*?#\\|"              ; backups/auto-saves
            ".*~\\|"
            "\\)"
            "/?$")))

when evaluated, gives:

,----[ C-h v le::no-backup-or-vc-regexp RET ]
| le::no-backup-or-vc-regexp's value is 
| "regexp matching backup and vc files."
| 
| \(^\|/\)\(CVS\|RCS\|SCCS\|\.
| Uses keymap "1,2\", which is not currently defined.
| \|\.?#.*?#\|.*~\|\)/?$
| 
| [back]
`----

keymap?  That doesn't look right.

--
Le

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

* Re: BUG REPORT: `eval-and-compile'
  2003-02-27 23:58 BUG REPORT: `eval-and-compile' Le Wang
@ 2003-02-28  0:55 ` Le Wang
  0 siblings, 0 replies; 2+ messages in thread
From: Le Wang @ 2003-02-28  0:55 UTC (permalink / raw)


Le Wang wrote:

> Unless I'm missing something really obvious...

D'oh.  I am.  I swaped the initial value and docstring.

Sorry.

--
Le

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

end of thread, other threads:[~2003-02-28  0:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-27 23:58 BUG REPORT: `eval-and-compile' Le Wang
2003-02-28  0:55 ` Le Wang

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.