* bug#30291: 25.2; "ubuntu mono font" and "query-replace" (twice) hangs emacs
@ 2018-01-30 1:58 Bill Evans
2018-01-31 5:16 ` bug#30291: Acknowledgement (25.2; "ubuntu mono font" and "query-replace" (twice) hangs emacs) Bill Evans
0 siblings, 1 reply; 6+ messages in thread
From: Bill Evans @ 2018-01-30 1:58 UTC (permalink / raw)
To: 30291
Reproducible steps with "emacs -Q":
1. Set the font with (set-face-attribute 'default nil :font "Ubuntu Mono").
2. In any buffer (including *scratch* of a freshly-started emacs).
3. Do a query-replace, it does not matter if anything is found or replaced.
4. Do another query-replace. This time, emacs should provide the
previous search/replace as default, something ala:
Query replace (foo --> bar): _
where the --> is actually a fancy arrow, not dash-dash-greaterthan.
Emacs always slows down a little in this part.
5. Interrupt (C-g) before completing the act. Emacs hangs (for me).
(Occasionally it requires doing this twice, never more than that.)
If I do not set the font (fresh emacs) or set it to another font (e.g.,
"Consolas"), no such slow-down or hang occurs with the same steps.
Versions: win10_64, emacs-25.2.1 (vgoulet's 25.2mod3), ubuntu mono 0.80
(dtd 2011; non-mono fonts are 0.83 from 2015)
In GNU Emacs 25.2.1 (x86_64-w64-mingw32)
of 2017-04-24 built on KAEL
Repository revision: 784602b10506c50075aa9463891a47380ebea55f
Windowing system distributor 'Microsoft Corp.', version 10.0.16299
Configured using:
'configure --prefix=/tmp/emacs --without-imagemagick --without-dbus
--with-modules 'CFLAGS=-O2 -fomit-frame-pointer -g0''
Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS MODULES
Important settings:
value of $LANG: ENU
locale-coding-system: cp1252
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
global-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
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message dired format-spec rfc822 mml
mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu
cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win
tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
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 charscript
case-table epa-hook jka-cmpr-hook help simple abbrev 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 w32notify w32 multi-tty
make-network-process emacs)
Memory information:
((conses 16 90268 10268)
(symbols 56 20082 0)
(miscs 48 51 126)
(strings 32 16583 4807)
(string-bytes 1 439616)
(vectors 16 11784)
(vector-slots 8 427318 4744)
(floats 8 160 33)
(intervals 56 237 21)
(buffers 976 20))
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#30291: Acknowledgement (25.2; "ubuntu mono font" and "query-replace" (twice) hangs emacs)
2018-01-30 1:58 bug#30291: 25.2; "ubuntu mono font" and "query-replace" (twice) hangs emacs Bill Evans
@ 2018-01-31 5:16 ` Bill Evans
2018-01-31 15:03 ` Eli Zaretskii
2018-04-17 20:01 ` Lars Ingebrigtsen
0 siblings, 2 replies; 6+ messages in thread
From: Bill Evans @ 2018-01-31 5:16 UTC (permalink / raw)
To: 30291
Further information, as mentioned in a comment on StackOverflow
(https://emacs.stackexchange.com/questions/38449/ubuntu-mono-font-hanging-emacs?noredirect=1#comment60603_38449):
Changing `query-replace-from-to-separator` to something trivial such as
" -> " also fixes the problem. This suggests that there is (1) likely
something "different" with Ubuntu Mono's interpretation of the
right-arrow character, and (2) emacs is not dealing well with that
different-ness.
(I recently upgraded to "GNU Emacs 25.3.1 (x86_64-w64-mingw32) of
2017-09-12", the bug behaves the same. It originally became a problem
when I upgraded from emacs24 to emacs25.)
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#30291: Acknowledgement (25.2; "ubuntu mono font" and "query-replace" (twice) hangs emacs)
2018-01-31 5:16 ` bug#30291: Acknowledgement (25.2; "ubuntu mono font" and "query-replace" (twice) hangs emacs) Bill Evans
@ 2018-01-31 15:03 ` Eli Zaretskii
2018-01-31 16:31 ` Bill Evans
2018-04-17 20:01 ` Lars Ingebrigtsen
1 sibling, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2018-01-31 15:03 UTC (permalink / raw)
To: Bill Evans; +Cc: 30291
> From: Bill Evans <bill@8pawexpress.com>
> Date: Tue, 30 Jan 2018 21:16:41 -0800
>
> Changing `query-replace-from-to-separator` to something trivial such as
> " -> " also fixes the problem. This suggests that there is (1) likely
> something "different" with Ubuntu Mono's interpretation of the
> right-arrow character, and (2) emacs is not dealing well with that
> different-ness.
>
> (I recently upgraded to "GNU Emacs 25.3.1 (x86_64-w64-mingw32) of
> 2017-09-12", the bug behaves the same. It originally became a problem
> when I upgraded from emacs24 to emacs25.)
Does it help to set use-default-font-for-symbols to the nil value
(without customizing query-replace-from-to-separator)?
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#30291: Acknowledgement (25.2; "ubuntu mono font" and "query-replace" (twice) hangs emacs)
2018-01-31 5:16 ` bug#30291: Acknowledgement (25.2; "ubuntu mono font" and "query-replace" (twice) hangs emacs) Bill Evans
2018-01-31 15:03 ` Eli Zaretskii
@ 2018-04-17 20:01 ` Lars Ingebrigtsen
2018-04-18 19:06 ` Bill Evans
1 sibling, 1 reply; 6+ messages in thread
From: Lars Ingebrigtsen @ 2018-04-17 20:01 UTC (permalink / raw)
To: Bill Evans; +Cc: 30291
Bill Evans <bill@8pawexpress.com> writes:
> Further information, as mentioned in a comment on StackOverflow
> (https://emacs.stackexchange.com/questions/38449/ubuntu-mono-font-hanging-emacs?noredirect=1#comment60603_38449):
>
> Changing `query-replace-from-to-separator` to something trivial such
> as " -> " also fixes the problem. This suggests that there is (1)
> likely something "different" with Ubuntu Mono's interpretation of the
> right-arrow character, and (2) emacs is not dealing well with that
> different-ness.
Is `query-replace' necessary to trigger the bug, or does evaling
(message "%s" query-replace-from-to-separator)
a couple of times also hang Emacs?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#30291: Acknowledgement (25.2; "ubuntu mono font" and "query-replace" (twice) hangs emacs)
2018-04-17 20:01 ` Lars Ingebrigtsen
@ 2018-04-18 19:06 ` Bill Evans
0 siblings, 0 replies; 6+ messages in thread
From: Bill Evans @ 2018-04-18 19:06 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: 30291
On 2018-04-17 13:01, Lars Ingebrigtsen wrote:
> Bill Evans <bill@8pawexpress.com> writes:
>
>> Further information, as mentioned in a comment on StackOverflow
>> (https://emacs.stackexchange.com/questions/38449/ubuntu-mono-font-hanging-emacs?noredirect=1#comment60603_38449):
>>
>> Changing `query-replace-from-to-separator` to something trivial such
>> as " -> " also fixes the problem. This suggests that there is (1)
>> likely something "different" with Ubuntu Mono's interpretation of the
>> right-arrow character, and (2) emacs is not dealing well with that
>> different-ness.
> Is `query-replace' necessary to trigger the bug, or does evaling
>
> (message "%s" query-replace-from-to-separator)
>
> a couple of times also hang Emacs?
>
It is certainly noticeably slower than with other fonts, but I could not
get it to actually hang emacs.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-04-18 19:06 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-30 1:58 bug#30291: 25.2; "ubuntu mono font" and "query-replace" (twice) hangs emacs Bill Evans
2018-01-31 5:16 ` bug#30291: Acknowledgement (25.2; "ubuntu mono font" and "query-replace" (twice) hangs emacs) Bill Evans
2018-01-31 15:03 ` Eli Zaretskii
2018-01-31 16:31 ` Bill Evans
2018-04-17 20:01 ` Lars Ingebrigtsen
2018-04-18 19:06 ` Bill Evans
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).