* bug#31627: 27.0.50; isearch prompt not shown when `inhibit-message` is set to `t`
@ 2018-05-28 15:20 Christian Schwarzgruber
2018-05-28 16:01 ` Robert Pluim
2018-05-29 5:17 ` Tino Calancha
0 siblings, 2 replies; 5+ messages in thread
From: Christian Schwarzgruber @ 2018-05-28 15:20 UTC (permalink / raw)
To: 31627
Hello Everybody!
(setq inhibit-message t) hides isearch prompt. Is this defined behavior
or a bug?
Thank you!
regards,
Christian
Configured using:
'configure --prefix=/usr --with-modules --without-pop
--without-mailutils --with-xwidgets'
Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY
ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 MODULES THREADS XWIDGETS LIBSYSTEMD LCMS2
Important settings:
value of $LC_MONETARY: de_DE.UTF-8
value of $LC_NUMERIC: de_DE.UTF-8
value of $LC_TIME: de_DE.UTF-8
value of $LANG: en_US.UTF-8
value of $XMODIFIERS: @im=ibus
locale-coding-system: utf-8-unix
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv
bytecomp byte-compile cconv dired dired-loaddefs format-spec rfc822 mml
easymenu mml-sec password-cache epa derived epg epg-config gnus-util
rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils misearch multi-isearch
time-date elec-pair mule-util tooltip eldoc electric uniquify ediff-hook
vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core term/tty-colors frame cl-generic
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote dbusbind inotify lcms2
dynamic-setting system-font-setting font-render-setting xwidget-internal
move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)
Memory information:
((conses 16 96393 8598)
(symbols 48 20500 1)
(miscs 40 38 120)
(strings 32 28621 1821)
(string-bytes 1 761462)
(vectors 16 14944)
(vector-slots 8 507846 11066)
(floats 8 48 69)
(intervals 56 235 0)
(buffers 992 12))
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#31627: 27.0.50; isearch prompt not shown when `inhibit-message` is set to `t`
2018-05-28 15:20 bug#31627: 27.0.50; isearch prompt not shown when `inhibit-message` is set to `t` Christian Schwarzgruber
@ 2018-05-28 16:01 ` Robert Pluim
2018-05-29 5:17 ` Tino Calancha
1 sibling, 0 replies; 5+ messages in thread
From: Robert Pluim @ 2018-05-28 16:01 UTC (permalink / raw)
To: Christian Schwarzgruber; +Cc: 31627
Christian Schwarzgruber <c.schwarzgruber.cs@gmail.com> writes:
> Hello Everybody!
>
> (setq inhibit-message t) hides isearch prompt. Is this defined behavior
> or a bug?
Good question. 26.1 and 25.3 behave the same way, but itʼs certainly
unexpected behaviour to me (and not described in the docstring for
isearch-forward).
Robert
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#31627: 27.0.50; isearch prompt not shown when `inhibit-message` is set to `t`
2018-05-28 15:20 bug#31627: 27.0.50; isearch prompt not shown when `inhibit-message` is set to `t` Christian Schwarzgruber
2018-05-28 16:01 ` Robert Pluim
@ 2018-05-29 5:17 ` Tino Calancha
2018-05-29 5:37 ` Christian Schwarzgruber
1 sibling, 1 reply; 5+ messages in thread
From: Tino Calancha @ 2018-05-29 5:17 UTC (permalink / raw)
To: Christian Schwarzgruber; +Cc: 31627
Christian Schwarzgruber <c.schwarzgruber.cs@gmail.com> writes:
> Hello Everybody!
>
> (setq inhibit-message t) hides isearch prompt. Is this defined behavior
> or a bug?
Its use is not intended to be set globally by users, because you don't
want to suppress all the calls to `message'; `message' is a common way
for Emacs to talk with its users, ask them for input or whatever.
Maybe something could be added in its docstring to make the point clear.
This var is mainly used by package developers in a controlled way:
typically by locally let-binding it around an expression. For example,
imagine the package `foo' having an user option
`foo-verbose' to display/suppress not very important messages:
(defcustom foo-verbose t
"If nil, suppress some messages"
:type 'boolean
:group 'foo)
(defun foo-set-vars ()
(message "Setting package variables!")
(setq foo-mint 100)
(setq foo-star -1))
(defun foo-start ()
(foo-procastinate-response)
(message "Initialisation complete!"))
(defun foo-initialize ()
(let ((inhibit-message (not verbose)))
(foo-set-vars)
(foo-start)))
That would be OK.
Another typical use is to suppress garbage messages
when writing tests.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#31627: 27.0.50; isearch prompt not shown when `inhibit-message` is set to `t`
2018-05-29 5:17 ` Tino Calancha
@ 2018-05-29 5:37 ` Christian Schwarzgruber
2018-06-02 11:10 ` Eli Zaretskii
0 siblings, 1 reply; 5+ messages in thread
From: Christian Schwarzgruber @ 2018-05-29 5:37 UTC (permalink / raw)
To: Tino Calancha; +Cc: 31627
Thank you for clarification!
With that "docstring" things are now clear to me.
-Christian
Tino Calancha <tino.calancha@gmail.com> writes:
> Christian Schwarzgruber <c.schwarzgruber.cs@gmail.com> writes:
>
>> Hello Everybody!
>>
>> (setq inhibit-message t) hides isearch prompt. Is this defined behavior
>> or a bug?
> Its use is not intended to be set globally by users, because you don't
> want to suppress all the calls to `message'; `message' is a common way
> for Emacs to talk with its users, ask them for input or whatever.
> Maybe something could be added in its docstring to make the point clear.
>
> This var is mainly used by package developers in a controlled way:
> typically by locally let-binding it around an expression. For example,
> imagine the package `foo' having an user option
> `foo-verbose' to display/suppress not very important messages:
>
> (defcustom foo-verbose t
> "If nil, suppress some messages"
> :type 'boolean
> :group 'foo)
>
> (defun foo-set-vars ()
> (message "Setting package variables!")
> (setq foo-mint 100)
> (setq foo-star -1))
>
> (defun foo-start ()
> (foo-procastinate-response)
> (message "Initialisation complete!"))
>
> (defun foo-initialize ()
> (let ((inhibit-message (not verbose)))
> (foo-set-vars)
> (foo-start)))
>
> That would be OK.
> Another typical use is to suppress garbage messages
> when writing tests.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#31627: 27.0.50; isearch prompt not shown when `inhibit-message` is set to `t`
2018-05-29 5:37 ` Christian Schwarzgruber
@ 2018-06-02 11:10 ` Eli Zaretskii
0 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2018-06-02 11:10 UTC (permalink / raw)
To: Christian Schwarzgruber; +Cc: 31627-done, tino.calancha
> From: Christian Schwarzgruber <c.schwarzgruber.cs@gmail.com>
> Date: Tue, 29 May 2018 07:37:37 +0200
> Cc: 31627@debbugs.gnu.org
>
> Thank you for clarification!
>
> With that "docstring" things are now clear to me.
I added the warning to the doc string, and I'm therefore closing the
bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-06-02 11:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-28 15:20 bug#31627: 27.0.50; isearch prompt not shown when `inhibit-message` is set to `t` Christian Schwarzgruber
2018-05-28 16:01 ` Robert Pluim
2018-05-29 5:17 ` Tino Calancha
2018-05-29 5:37 ` Christian Schwarzgruber
2018-06-02 11:10 ` Eli Zaretskii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.