* completing-read in pcvs.el
@ 2008-07-24 15:12 kimitto
2008-09-05 15:09 ` bug#894: " Stefan Monnier
0 siblings, 1 reply; 5+ messages in thread
From: kimitto @ 2008-07-24 15:12 UTC (permalink / raw)
To: bug-gnu-emacs
(emacs-version)
"GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600)
of 2007-07-08 on CUBE"
completing-read()'s second arg requires alist (or hash-table,
obarray),
but in pcvs.el uses a list.
Calling cvs-mode-set-flags() makes error
if uning a tiny original completion elisp.
Fix it, please.
Best regards,
Kimito Yada
diff -u c\:/meadow/lisp/pcvs.el c\:/meadow/lisp/pcvs.mod.el
--- c:/meadow/lisp/pcvs.el 2007-07-08 14:28:00.001000000 +0900
+++ c:/meadow/lisp/pcvs.mod.el 2008-07-24 23:52:23.020236800 +0900
@@ -2217,8 +2217,8 @@
(interactive
(list (completing-read
"Which flag: "
- '("cvs" "diff" "update" "status" "log" "tag" ;"rtag"
- "commit" "remove" "undo" "checkout")
+ '(("cvs") ("diff") ("update") ("status") ("log") ("tag") ;("rtag")
+ ("commit") ("remove") ("undo") ("checkout"))
nil t)))
(let* ((sym (intern (concat "cvs-" flag "-flags"))))
(let ((current-prefix-arg '(16)))
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#894: completing-read in pcvs.el
2008-07-24 15:12 completing-read in pcvs.el kimitto
@ 2008-09-05 15:09 ` Stefan Monnier
2008-09-09 3:55 ` bug#939: " kimito yada
0 siblings, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2008-09-05 15:09 UTC (permalink / raw)
To: kimitto; +Cc: bug-gnu-emacs
> completing-read()'s second arg requires alist (or hash-table,
> obarray), but in pcvs.el uses a list.
Emacs also accepts a list (at least since Emacs-22, maybe even
Emacs-21), so that's not a problem.
> Calling cvs-mode-set-flags() makes error
> if uning a tiny original completion elisp.
Could you describe in which circumstance the problem manifests itself?
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#939: completing-read in pcvs.el
2008-09-05 15:09 ` bug#894: " Stefan Monnier
@ 2008-09-09 3:55 ` kimito yada
2008-09-09 13:32 ` bug#945: " Stefan Monnier
0 siblings, 1 reply; 5+ messages in thread
From: kimito yada @ 2008-09-09 3:55 UTC (permalink / raw)
To: Stefan Monnier, bug-gnu-emacs
> Emacs also accepts a list (at least since Emacs-22, maybe even
> Emacs-21), so that's not a problem.
Sorry, I couldn't catch the deescription for try-completion in info elisp-3.
"In particular, a list of strings or symbols is allowed, even though
we usually do not think of such lists as alists."
And I understood it.
But I think, using completion-read should unite,
pcvs.el:1280 uses alist, but 2247 list.
Thank you,
Kimito Yada
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#945: completing-read in pcvs.el
2008-09-09 3:55 ` bug#939: " kimito yada
@ 2008-09-09 13:32 ` Stefan Monnier
2008-09-09 14:46 ` bug#948: " kimito yada
0 siblings, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2008-09-09 13:32 UTC (permalink / raw)
To: kimito yada; +Cc: bug-gnu-emacs
>> Emacs also accepts a list (at least since Emacs-22, maybe even
>> Emacs-21), so that's not a problem.
> Sorry, I couldn't catch the deescription for try-completion in info elisp-3.
> "In particular, a list of strings or symbols is allowed, even though
> we usually do not think of such lists as alists."
> And I understood it.
> But I think, using completion-read should unite,
> pcvs.el:1280 uses alist, but 2247 list.
I do not understnad "should unite". Rather than talk about the code,
please tell me which behavior of PCL-CVS is affected. I.e. give
a recipe exhibiting undesirable behavior.
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-09-09 14:46 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-24 15:12 completing-read in pcvs.el kimitto
2008-09-05 15:09 ` bug#894: " Stefan Monnier
2008-09-09 3:55 ` bug#939: " kimito yada
2008-09-09 13:32 ` bug#945: " Stefan Monnier
2008-09-09 14:46 ` bug#948: " kimito yada
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).