* bug#28048: 26.0.50; behaviour of C-h f semantic-mode
@ 2017-08-11 14:42 Mark Oteiza
2017-08-11 15:51 ` Glenn Morris
0 siblings, 1 reply; 6+ messages in thread
From: Mark Oteiza @ 2017-08-11 14:42 UTC (permalink / raw)
To: 28048
Hi,
From -Q:
1. C-f sem TAB
For information about GNU Emacs and the GNU system, type C-h C-a.
*Warning* default value of <<no-type>> tokens changed to QUERY, was NULL_TOKEN
*Warning* default value of <<no-type>> tokens changed to TRUE, was QUERY
*Warning* default value of <<no-type>> tokens changed to FALSE, was TRUE
Shell native completion is disabled, using fallback
Quit
The penultimate message was from a python process being started.
In GNU Emacs 26.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw scroll bars)
of 2017-08-10 built on logos
Repository revision: 81656add8117e8d1b7faab18b330d0706462b433
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#28048: 26.0.50; behaviour of C-h f semantic-mode
2017-08-11 14:42 bug#28048: 26.0.50; behaviour of C-h f semantic-mode Mark Oteiza
@ 2017-08-11 15:51 ` Glenn Morris
2017-08-11 16:22 ` Mark Oteiza
0 siblings, 1 reply; 6+ messages in thread
From: Glenn Morris @ 2017-08-11 15:51 UTC (permalink / raw)
To: Mark Oteiza; +Cc: 28048
Mark Oteiza wrote:
> 1. C-f sem TAB
>
> For information about GNU Emacs and the GNU system, type C-h C-a.
> *Warning* default value of <<no-type>> tokens changed to QUERY, was NULL_TOKEN
> *Warning* default value of <<no-type>> tokens changed to TRUE, was QUERY
> *Warning* default value of <<no-type>> tokens changed to FALSE, was TRUE
These 3 warnings are https://debbugs.gnu.org/14524
> Shell native completion is disabled, using fallback
> Quit
Anyway, what exactly is the complaint?
C-h f now uses the definition-prefixes feature to try and load libraries
where needed, and loading libraries may do anything.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#28048: 26.0.50; behaviour of C-h f semantic-mode
2017-08-11 15:51 ` Glenn Morris
@ 2017-08-11 16:22 ` Mark Oteiza
2017-08-12 1:47 ` npostavs
2017-08-12 17:42 ` Glenn Morris
0 siblings, 2 replies; 6+ messages in thread
From: Mark Oteiza @ 2017-08-11 16:22 UTC (permalink / raw)
To: Glenn Morris; +Cc: 28048
Glenn Morris <rgm@gnu.org> writes:
> Mark Oteiza wrote:
>
>> 1. C-f sem TAB
>>
>> For information about GNU Emacs and the GNU system, type C-h C-a.
>> *Warning* default value of <<no-type>> tokens changed to QUERY, was NULL_TOKEN
>> *Warning* default value of <<no-type>> tokens changed to TRUE, was QUERY
>> *Warning* default value of <<no-type>> tokens changed to FALSE, was TRUE
>
> These 3 warnings are https://debbugs.gnu.org/14524
>
>> Shell native completion is disabled, using fallback
>> Quit
>
> Anyway, what exactly is the complaint?
> C-h f now uses the definition-prefixes feature to try and load libraries
> where needed, and loading libraries may do anything.
I suppose the complaint is that "loading" semantic (or whatever happens
to get loaded when trying to get help on the semantic-mode function) is
invoking a python process. Either some library starts the process when
loaded, or… well I don't know what's going on.
Is there a bug associated with the new C-h f behaviour? Loading
libraries unexpectedly sounds bad.
Tangentially, the python warning is <https://debbugs.gnu.org/22897>, and
either something got broken again or this never actually got fixed.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#28048: 26.0.50; behaviour of C-h f semantic-mode
2017-08-11 16:22 ` Mark Oteiza
@ 2017-08-12 1:47 ` npostavs
2017-08-12 17:42 ` Glenn Morris
1 sibling, 0 replies; 6+ messages in thread
From: npostavs @ 2017-08-12 1:47 UTC (permalink / raw)
To: Mark Oteiza; +Cc: 28048
Mark Oteiza <mvoteiza@udel.edu> writes:
> I suppose the complaint is that "loading" semantic (or whatever happens
> to get loaded when trying to get help on the semantic-mode function) is
> invoking a python process. Either some library starts the process when
> loaded, or… well I don't know what's going on.
I can confirm the "*Warning* default value of <<no-type>> tokens
changed..." messages.
I do not get the "Shell native completion is disabled, using fallback"
message, and furthermore, evaluating (featurep 'python) afterwards gives
nil.
> Is there a bug associated with the new C-h f behaviour?
No, it was introduced on emacs-devel, see [1] and followups.
[1]: http://lists.gnu.org/archive/html/emacs-devel/2016-05/msg00441.html
> Tangentially, the python warning is <https://debbugs.gnu.org/22897>, and
> either something got broken again or this never actually got fixed.
When I do M-x run-python native completion is enabled with no problem.
Perhaps you should open a new bug with details about your python setup.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#28048: 26.0.50; behaviour of C-h f semantic-mode
2017-08-11 16:22 ` Mark Oteiza
2017-08-12 1:47 ` npostavs
@ 2017-08-12 17:42 ` Glenn Morris
2017-08-12 17:46 ` Glenn Morris
1 sibling, 1 reply; 6+ messages in thread
From: Glenn Morris @ 2017-08-12 17:42 UTC (permalink / raw)
To: Mark Oteiza; +Cc: 28048
Mark Oteiza wrote:
> I suppose the complaint is that "loading" semantic (or whatever happens
> to get loaded when trying to get help on the semantic-mode function) is
> invoking a python process.
emacs -Q -l lisp/cedet/semantic/wisent/python.el
starts a python process due to semantic-python-get-system-include-path
and its use of python-shell-internal-send-string. Doesn't seem like a
bug to me?
> Is there a bug associated with the new C-h f behaviour?
I don't know, is there? ;)
> Loading libraries unexpectedly sounds bad.
I think you'll have to give more details, because obviously someone
(Stefan) thought this was a desirable feature.
(The C-h f aspect does seem under-explained in NEWS, but that's par for
the course. And IIUC it cannot be disabled, unlike the older feature
controlled by help-enable-auto-load.)
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-08-12 17:46 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-11 14:42 bug#28048: 26.0.50; behaviour of C-h f semantic-mode Mark Oteiza
2017-08-11 15:51 ` Glenn Morris
2017-08-11 16:22 ` Mark Oteiza
2017-08-12 1:47 ` npostavs
2017-08-12 17:42 ` Glenn Morris
2017-08-12 17:46 ` Glenn Morris
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).