unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: No Wayman <iarchivedmywholelife@gmail.com>
To: Juri Linkov <juri@linkov.net>
Cc: 69312@debbugs.gnu.org
Subject: bug#69312: 30.0.50; [WISHLIST] dicitionary buffer should retain search information
Date: Sat, 24 Feb 2024 23:06:10 -0500	[thread overview]
Message-ID: <8734thfarx.fsf@gmail.com> (raw)
In-Reply-To: <86cyslep8p.fsf@mail.linkov.net> (Juri Linkov's message of "Sat,  24 Feb 2024 19:39:02 +0200")

Juri Linkov <juri@linkov.net> writes:

> Sorry, I didn't notice there is another place:
 
> @@ -787,7 +787,7 @@ dictionary-do-search

Thanks again.
The changes to dictionary-do-search look fine.


> @@ -1128,8 +1128,8 @@ dictionary-new-matching
>  
>  (defun dictionary-do-matching (word dictionary strategy 
>  function)
>    "Search for WORD with STRATEGY in DICTIONARY and display them 
>    with FUNCTION."
> -  (message "Lookup matching words for %s in %s using %s"
> -	   word dictionary strategy)
> +  (insert (format-message "Lookup matching words for %s in %s 
> using %s\n"
> +	                  word dictionary strategy))
>    (dictionary-send-command
>     (concat "match " (dictionary-encode-charset dictionary "") " 
>     "
>  	   (dictionary-encode-charset strategy "") " \""

This won't work. The buffer is in read-only mode, but even if that 
is inhibited, the string is overwritten by the call to the display 
function at the end:

> (funcall function reply)






  reply	other threads:[~2024-02-25  4:06 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-22 18:39 bug#69312: 30.0.50; [WISHLIST] dicitionary buffer should retain search information No Wayman
2024-02-23  7:12 ` Juri Linkov
2024-02-23 15:29   ` No Wayman
2024-02-24 17:39     ` Juri Linkov
2024-02-25  4:06       ` No Wayman [this message]
2024-02-25  7:19         ` Juri Linkov
2024-03-02 17:31           ` Juri Linkov
2024-03-03  1:46             ` No Wayman
2024-03-03  7:50               ` Juri Linkov
2024-03-03 16:59                 ` Juri Linkov
2024-03-03 17:16                   ` No Wayman
2024-03-03 17:49                     ` Juri Linkov
2024-03-03 20:59                       ` No Wayman
2024-03-05 16:43                         ` Juri Linkov

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=8734thfarx.fsf@gmail.com \
    --to=iarchivedmywholelife@gmail.com \
    --cc=69312@debbugs.gnu.org \
    --cc=juri@linkov.net \
    /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).