unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#32157: Emacs 26.1.50: Error in post-command-hook (icomplete-post-command-hook): (void-function set-message-beep)
@ 2018-07-14 11:58 net june
  2018-07-14 15:58 ` Eli Zaretskii
  0 siblings, 1 reply; 13+ messages in thread
From: net june @ 2018-07-14 11:58 UTC (permalink / raw
  To: 32157

emacs: 26.1.50
OS: centos 7 x86_64

1. copy "w32-register-hot-key" to clipboard
2. emacs -Q
3. C-h f or M-x describe-function
4. use C-y to paste the content in clipboard to minibuffer, and press Enter
5. emacs error: Error in post-command-hook 
(icomplete-post-command-hook): (void-function set-message-beep)

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

* bug#32157: Emacs 26.1.50: Error in post-command-hook (icomplete-post-command-hook): (void-function set-message-beep)
  2018-07-14 11:58 bug#32157: Emacs 26.1.50: Error in post-command-hook (icomplete-post-command-hook): (void-function set-message-beep) net june
@ 2018-07-14 15:58 ` Eli Zaretskii
  2018-07-14 16:04   ` Glenn Morris
                     ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Eli Zaretskii @ 2018-07-14 15:58 UTC (permalink / raw
  To: net june; +Cc: 32157

> From: net june <netjune@outlook.com>
> Date: Sat, 14 Jul 2018 11:58:39 +0000
> 
> emacs: 26.1.50
> OS: centos 7 x86_64
> 
> 1. copy "w32-register-hot-key" to clipboard
> 2. emacs -Q
> 3. C-h f or M-x describe-function
> 4. use C-y to paste the content in clipboard to minibuffer, and press Enter
> 5. emacs error: Error in post-command-hook 
> (icomplete-post-command-hook): (void-function set-message-beep)

I cannot reproduce this.  I tried on GNU/Linux and on MS-Windows, and
I get the expected results on each one of them.

I also wonder where did that icomplete-post-command-hook come from in
"emacs -Q".  Icomplete mode is supposed to be disabled in "emacs -Q".





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

* bug#32157: Emacs 26.1.50: Error in post-command-hook (icomplete-post-command-hook): (void-function set-message-beep)
  2018-07-14 15:58 ` Eli Zaretskii
@ 2018-07-14 16:04   ` Glenn Morris
  2018-07-14 16:27     ` Eli Zaretskii
  2018-07-15  3:58     ` net june
  2018-07-15  3:29   ` net june
  2018-07-15  3:47   ` net june
  2 siblings, 2 replies; 13+ messages in thread
From: Glenn Morris @ 2018-07-14 16:04 UTC (permalink / raw
  To: Eli Zaretskii; +Cc: net june, 32157


I imagine this is fixed on master by 109a3bf6a1.
(ie, a duplicate of bug#6997).





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

* bug#32157: Emacs 26.1.50: Error in post-command-hook (icomplete-post-command-hook): (void-function set-message-beep)
  2018-07-14 16:04   ` Glenn Morris
@ 2018-07-14 16:27     ` Eli Zaretskii
  2018-07-15  3:58     ` net june
  1 sibling, 0 replies; 13+ messages in thread
From: Eli Zaretskii @ 2018-07-14 16:27 UTC (permalink / raw
  To: Glenn Morris; +Cc: netjune, 32157

> From: Glenn Morris <rgm@gnu.org>
> Cc: net june <netjune@outlook.com>,  32157@debbugs.gnu.org
> Date: Sat, 14 Jul 2018 12:04:51 -0400
> 
> 
> I imagine this is fixed on master by 109a3bf6a1.
> (ie, a duplicate of bug#6997).

Ah, yes.  Then we should close this, I think.





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

* bug#32157: Emacs 26.1.50: Error in post-command-hook (icomplete-post-command-hook): (void-function set-message-beep)
  2018-07-14 15:58 ` Eli Zaretskii
  2018-07-14 16:04   ` Glenn Morris
@ 2018-07-15  3:29   ` net june
  2018-07-15  3:47   ` net june
  2 siblings, 0 replies; 13+ messages in thread
From: net june @ 2018-07-15  3:29 UTC (permalink / raw
  To: Eli Zaretskii; +Cc: 32157@debbugs.gnu.org



On 07/14/2018 11:58 PM, Eli Zaretskii wrote:

> I also wonder where did that icomplete-post-command-hook come from in
> "emacs -Q".  Icomplete mode is supposed to be disabled in "emacs -Q".
> 
Copied from mail in emacs-devel to make this clear:

Note:
The error message is not right in the original mail. That error message
was copied from another emacs session( not "emacs -Q"). The error
message in this mail(in the step 4) is the right one. Sorry for the mistake.


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

* bug#32157: Emacs 26.1.50: Error in post-command-hook (icomplete-post-command-hook): (void-function set-message-beep)
  2018-07-14 15:58 ` Eli Zaretskii
  2018-07-14 16:04   ` Glenn Morris
  2018-07-15  3:29   ` net june
@ 2018-07-15  3:47   ` net june
  2018-07-17 20:28     ` Rolf Ade
  2018-07-18  1:24     ` Stefan Monnier
  2 siblings, 2 replies; 13+ messages in thread
From: net june @ 2018-07-15  3:47 UTC (permalink / raw
  To: Eli Zaretskii; +Cc: 32157@debbugs.gnu.org



On 07/14/2018 11:58 PM, Eli Zaretskii wrote:

> I cannot reproduce this.  I tried on GNU/Linux and on MS-Windows, and
> I get the expected results on each one of them.
> 

I just pull the latest version from emacs git repo, and run "git clean 
-f -x -d" to clean up. Then config with command:

CFLAG=-O2 ./configure --prefix=/home/jun/apps/emacs-26 
--without-makeinfo --with-x-toolkit=gtk3 --with-modules

and make with command:
make && make install

The problem still exists.

> Also can be reproduced by following steps:
> 1. emacs -Q
> 2. C-h f or M-x describe-function
> 3. input "w32-<TAB>" where <TAB> is pressing the tab key
> 4. emacs error: byte-code: Symbol’s function definition is void: 
> set-message-beep

In step 3, it seems that ONLY THE FIRST tab key produce the error 
message for a emacs instance. Pressing the tab key twice, it will show 
the completion window with content as following:

------------------------------------------------------------------
Click on a completion to select it.
In this buffer, type RET to select the completion near point.

Possible completions are:
w32-check-shell-configuration 	w32-convert-standard-filename
w32-get-valid-locale-ids 	w32-list-locales
w32-set-default-process-coding-system 	w32-set-system-coding-system
w32-shell-dos-semantics 	w32-shell-name
w32-system-shell-p

-------------------------------------------------

Why these symbols are visible on GNU/Linux? Is there something wrong 
with my build commands?


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

* bug#32157: Emacs 26.1.50: Error in post-command-hook (icomplete-post-command-hook): (void-function set-message-beep)
  2018-07-14 16:04   ` Glenn Morris
  2018-07-14 16:27     ` Eli Zaretskii
@ 2018-07-15  3:58     ` net june
  2018-07-15 14:34       ` Eli Zaretskii
  1 sibling, 1 reply; 13+ messages in thread
From: net june @ 2018-07-15  3:58 UTC (permalink / raw
  To: Glenn Morris, Eli Zaretskii; +Cc: 32157@debbugs.gnu.org



On 07/15/2018 12:04 AM, Glenn Morris wrote:
> 
> I imagine this is fixed on master by 109a3bf6a1.
> (ie, a duplicate of bug#6997).
> 

It is fixed on master, not on emacs-26. Can you backport it to emacs-26?

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

* bug#32157: Emacs 26.1.50: Error in post-command-hook (icomplete-post-command-hook): (void-function set-message-beep)
  2018-07-15  3:58     ` net june
@ 2018-07-15 14:34       ` Eli Zaretskii
  2018-07-16  3:21         ` net june
  2018-07-16  3:23         ` net june
  0 siblings, 2 replies; 13+ messages in thread
From: Eli Zaretskii @ 2018-07-15 14:34 UTC (permalink / raw
  To: net june; +Cc: 32157

> From: net june <netjune@outlook.com>
> CC: "32157@debbugs.gnu.org" <32157@debbugs.gnu.org>
> Date: Sun, 15 Jul 2018 03:58:56 +0000
> 
> On 07/15/2018 12:04 AM, Glenn Morris wrote:
> > 
> > I imagine this is fixed on master by 109a3bf6a1.
> > (ie, a duplicate of bug#6997).
> > 
> 
> It is fixed on master, not on emacs-26. Can you backport it to emacs-26?

No, it's too extensive, and the problem itself is not important
enough, I think (why would a GNU/Linux user want to display help on
Windows-specific features?).  The emacs-26 branch is for fixing bugs
that are either serious/urgent or which were caused by recent
regressions.





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

* bug#32157: Emacs 26.1.50: Error in post-command-hook (icomplete-post-command-hook): (void-function set-message-beep)
  2018-07-15 14:34       ` Eli Zaretskii
@ 2018-07-16  3:21         ` net june
  2018-07-16  3:23         ` net june
  1 sibling, 0 replies; 13+ messages in thread
From: net june @ 2018-07-16  3:21 UTC (permalink / raw
  To: Eli Zaretskii; +Cc: 32157@debbugs.gnu.org



On 07/15/2018 10:34 PM, Eli Zaretskii wrote:
>> From: net june <netjune@outlook.com>
>> CC: "32157@debbugs.gnu.org" <32157@debbugs.gnu.org>
>> Date: Sun, 15 Jul 2018 03:58:56 +0000
>>
>> On 07/15/2018 12:04 AM, Glenn Morris wrote:
>>>
>>> I imagine this is fixed on master by 109a3bf6a1.
>>> (ie, a duplicate of bug#6997).
>>>
>>
>> It is fixed on master, not on emacs-26. Can you backport it to emacs-26?
> 
> No, it's too extensive, and the problem itself is not important
> enough, I think (why would a GNU/Linux user want to display help on
> Windows-specific features?).  The emacs-26 branch is for fixing bugs
> that are either serious/urgent or which were caused by recent
> regressions.
> 

OK. No perfect product. I can stay with it.

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

* bug#32157: Emacs 26.1.50: Error in post-command-hook (icomplete-post-command-hook): (void-function set-message-beep)
  2018-07-15 14:34       ` Eli Zaretskii
  2018-07-16  3:21         ` net june
@ 2018-07-16  3:23         ` net june
  2018-07-16 14:18           ` Eli Zaretskii
  1 sibling, 1 reply; 13+ messages in thread
From: net june @ 2018-07-16  3:23 UTC (permalink / raw
  To: Eli Zaretskii; +Cc: 32157@debbugs.gnu.org



On 07/15/2018 10:34 PM, Eli Zaretskii wrote:
>> From: net june <netjune@outlook.com>
>> CC: "32157@debbugs.gnu.org" <32157@debbugs.gnu.org>
>> Date: Sun, 15 Jul 2018 03:58:56 +0000
>>
>> On 07/15/2018 12:04 AM, Glenn Morris wrote:
>>>
>>> I imagine this is fixed on master by 109a3bf6a1.
>>> (ie, a duplicate of bug#6997).
>>>
>>
>> It is fixed on master, not on emacs-26. Can you backport it to emacs-26?
> 
> No, it's too extensive, and the problem itself is not important
> enough, I think (why would a GNU/Linux user want to display help on
> Windows-specific features?).  The emacs-26 branch is for fixing bugs
> that are either serious/urgent or which were caused by recent
> regressions.
> 

But how to prevent others to report same bug? The easy way may be fixing 
it. :)

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

* bug#32157: Emacs 26.1.50: Error in post-command-hook (icomplete-post-command-hook): (void-function set-message-beep)
  2018-07-16  3:23         ` net june
@ 2018-07-16 14:18           ` Eli Zaretskii
  0 siblings, 0 replies; 13+ messages in thread
From: Eli Zaretskii @ 2018-07-16 14:18 UTC (permalink / raw
  To: net june; +Cc: 32157

> From: net june <netjune@outlook.com>
> CC: "rgm@gnu.org" <rgm@gnu.org>, "32157@debbugs.gnu.org"
> 	<32157@debbugs.gnu.org>
> Date: Mon, 16 Jul 2018 03:23:44 +0000
> 
> But how to prevent others to report same bug? The easy way may be fixing 
> it. :)

We did fix it: on the master branch.





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

* bug#32157: Emacs 26.1.50: Error in post-command-hook (icomplete-post-command-hook): (void-function set-message-beep)
  2018-07-15  3:47   ` net june
@ 2018-07-17 20:28     ` Rolf Ade
  2018-07-18  1:24     ` Stefan Monnier
  1 sibling, 0 replies; 13+ messages in thread
From: Rolf Ade @ 2018-07-17 20:28 UTC (permalink / raw
  To: net june; +Cc: 32157@debbugs.gnu.org


FWIW, while I see the reported error with net junes recipt with
emacs-26.1 on linux (an older SuSE) ...

net june <netjune@outlook.com> writes:
> I just pull the latest version from emacs git repo, and run "git clean 
> -f -x -d" to clean up. Then config with command:
>
> CFLAG=-O2 ./configure --prefix=/home/jun/apps/emacs-26 
> --without-makeinfo --with-x-toolkit=gtk3 --with-modules
>
> and make with command:
> make && make install
>
> The problem still exists.

... I can't confirm this. A just freshly build emacs-27.0.50.2 doesn't
raise error for me on the same box with the recipt.





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

* bug#32157: Emacs 26.1.50: Error in post-command-hook (icomplete-post-command-hook): (void-function set-message-beep)
  2018-07-15  3:47   ` net june
  2018-07-17 20:28     ` Rolf Ade
@ 2018-07-18  1:24     ` Stefan Monnier
  1 sibling, 0 replies; 13+ messages in thread
From: Stefan Monnier @ 2018-07-18  1:24 UTC (permalink / raw
  To: net june; +Cc: 32157@debbugs.gnu.org

> In step 3, it seems that ONLY THE FIRST tab key produce the error 
> message for a emacs instance. Pressing the tab key twice, it will show 
> the completion window with content as following:

In my tests, the first TAB already brings up the completion you describe
(and doesn't signal any error).

> Why these symbols are visible on GNU/Linux?

Because these are functions defined in Elisp files available in
load-path, so they can be loaded (and you can subsequently call them)
even on GNU/Linux (at that point, they likely won't work as expected
because their implementation depends on underlying features only
provided by the w32 part of the C code).

In some unlikely hypothetical future, they could even be useful if we
can manage to build a GNU/Linux version of Emacs which links with Wine
to display w32 frames.

> Is there something wrong with my build commands?

No,


        Stefan





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

end of thread, other threads:[~2018-07-18  1:24 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-14 11:58 bug#32157: Emacs 26.1.50: Error in post-command-hook (icomplete-post-command-hook): (void-function set-message-beep) net june
2018-07-14 15:58 ` Eli Zaretskii
2018-07-14 16:04   ` Glenn Morris
2018-07-14 16:27     ` Eli Zaretskii
2018-07-15  3:58     ` net june
2018-07-15 14:34       ` Eli Zaretskii
2018-07-16  3:21         ` net june
2018-07-16  3:23         ` net june
2018-07-16 14:18           ` Eli Zaretskii
2018-07-15  3:29   ` net june
2018-07-15  3:47   ` net june
2018-07-17 20:28     ` Rolf Ade
2018-07-18  1:24     ` Stefan Monnier

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).