From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: log-edit.el
Date: Wed, 25 May 2005 10:33:39 -0400 [thread overview]
Message-ID: <87r7fvwfhe.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <17044.23349.76511.530320@farnswood.snap.net.nz> (Nick Roberts's message of "Wed, 25 May 2005 23:02:13 +1200")
> vc-nect-action in fns.c (C-v v v) followed by C-c C-a picks up:
> * fns.c (Fyes_or_no_p, Fy_or_n_p): Call Fx_popup_dialog with
> a third argument (Qnil).
> * editfns.c (Fmessage_box): Use "Information" for frame title.
> How about the patch below to stop this?
This idea might be OK, but the place to add a " " is not where you put it
but inside log-edit-changelog-entries where we do a (search-forward
pattern).
Is the patch below working for you?
> Also, I use log-edit-insert-changelog all the time but never use pcl-cvs.
> How about moving the node about log-edit from the pcl-cvs manual into
> the Emacs manual?
No objection here,
Stefan
--- orig/lisp/log-edit.el
+++ mod/lisp/log-edit.el
@@ -616,8 +616,12 @@
(search-forward pattern nil t))))
(setq pattern (file-name-nondirectory file)))
+ (setq pattern (concat "\\(^\\|[^[:alnum:]]\\)"
+ pattern
+ "\\($\\|[^[:alnum:]]\\)"))
+
(let (texts)
- (while (search-forward pattern nil t)
+ (while (re-search-forward pattern nil t)
(let ((entry (log-edit-changelog-entry)))
(push entry texts)
(goto-char (elt entry 1))))
@@ -655,5 +659,5 @@
(provide 'log-edit)
-;;; arch-tag: 8089b39c-983b-4e83-93cd-ed0a64c7fdcc
+;; arch-tag: 8089b39c-983b-4e83-93cd-ed0a64c7fdcc
;;; log-edit.el ends here
next prev parent reply other threads:[~2005-05-25 14:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-25 11:02 log-edit.el Nick Roberts
2005-05-25 14:33 ` Stefan Monnier [this message]
2005-05-25 21:33 ` log-edit.el Nick Roberts
2005-05-26 6:01 ` log-edit.el Richard Stallman
2005-05-26 6:31 ` log-edit.el Nick Roberts
2005-05-27 3:40 ` log-edit.el Richard Stallman
2005-05-26 7:14 ` log-edit.el Nick Roberts
2005-05-27 3:39 ` log-edit.el Richard Stallman
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=87r7fvwfhe.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@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).