GNU bug report logs -
#23507
24.3; Mac OS X proxy icon disappears when frame-title-format is set in .emacs
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 23507 in the body.
You can then email your comments to 23507 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#23507
; Package
emacs
.
(Tue, 10 May 2016 16:55:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Christopher Crawford <christopher.b.crawford <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 10 May 2016 16:55:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Using the following one-line .emacs file:
(setq frame-title-format '("%b @ " system-name))
removes the proxy icon from the mode line when opening ~/.emacs, for example.
After emacs is running, if I evaluate the two lines:
(setq frame-title-format t)
(setq frame-title-format '("%b @ " system-name))
the proxy icon reappears with the rest of the title format specified.
This bug appeared some time after version 'GNU Emacs 22.3.1 (i386-apple-darwin9.8.0, Carbon Version 1.6.0) of 2010-01-09 on gs674-seijiz.local'
In GNU Emacs 24.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.36)
of 2013-03-13 on bob.porkrind.org
Windowing system distributor `Apple', version 10.3.1265
Configured using:
`configure '--host=x86_64-apple-darwin' '--build=i686-apple-darwin'
'--with-ns' 'build_alias=i686-apple-darwin'
'host_alias=x86_64-apple-darwin' 'CC=gcc -mmacosx-version-min=10.7
-isystem
/Users/david/Xcode-10.7_4.5.2/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/
-F/Users/david/Xcode-10.7_4.5.2/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks''
Important settings:
locale-coding-system: nil
default enable-multibyte-characters: t
Major mode: Emacs-Lisp
Minor modes in effect:
tooltip-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 input:
<help-echo> C-x C-f . <backspace> <backspace> ~ / .
e m <tab> <return> C-n C-n C-e C-x C-e C-p C-p C-x
C-e C-n C-n C-e C-x C-e C-a C-p C-k C-k <help-echo>
s-x r e C-/ M-x r e p r o t SPC <backspace> <backspace>
<backspace> o r t SPC e m a SPC b u SPC <return>
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Loading vc-cvs...done
("%b @ " system-name)
t
("%b @ " system-name)
kill-region: The mark is not set now, so there is no region
Undo!
Load-path shadows:
None found.
Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils parse-time vc-cvs time-date tooltip
ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset
image regexp-opt fringe tabulated-list newcomment lisp-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process ns multi-tty emacs)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#23507
; Package
emacs
.
(Mon, 16 May 2016 21:44:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 23507 <at> debbugs.gnu.org (full text, mbox):
On Tue, May 10, 2016 at 09:24:22AM -0400, Christopher Crawford wrote:
>
> Using the following one-line .emacs file:
>
> (setq frame-title-format '("%b @ " system-name))
>
> removes the proxy icon from the mode line when opening ~/.emacs, for example.
> After emacs is running, if I evaluate the two lines:
>
> (setq frame-title-format t)
> (setq frame-title-format '("%b @ " system-name))
>
> the proxy icon reappears with the rest of the title format specified.
It looks like this is just plain not supported in the NS port.
x_implicitly_set_name in nsfns.m has this bit of code:
/* Deal with NS specific format t. */
if (FRAME_NS_P (f) && ((FRAME_ICONIFIED_P (f) && EQ (icon_title, Qt))
|| EQ (frame_title, Qt)))
ns_set_name_as_filename (f);
else
ns_set_name (f, arg, 0);
Where ns_set_name sets the title without the icon, and
ns_set_name_as_filename with. Note that it's comparing frame_title,
which is a C copy of frame-title-format, with true. I think that means
that if frame_title is a format string it will skip the icon.
AND the comment references "NS specific format t".
Of course, if you fiddle about with setting the variables, it does
eventually work, so I don't really understand what's going on here.
> This bug appeared some time after version 'GNU Emacs 22.3.1
> (i386-apple-darwin9.8.0, Carbon Version 1.6.0) of 2010-01-09 on
> gs674-seijiz.local'
I believe that was the Mac Port, which was replaced in the official
GNU release by the NextStep port some time ago. The Mac Port is still
under development by Yamamoto Mitsuharu, but I'm unsure of the link to
it.
--
Alan Third
Merged 8491 23507.
Request was from
Alan Third <alan <at> idiocy.org>
to
control <at> debbugs.gnu.org
.
(Thu, 26 May 2016 19:50:02 GMT)
Full text and
rfc822 format available.
Added tag(s) fixed.
Request was from
Alan Third <alan <at> idiocy.org>
to
control <at> debbugs.gnu.org
.
(Sat, 06 Apr 2019 16:31:02 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 27.1, send any further explanations to
8491 <at> debbugs.gnu.org and Steve Purcell <steve <at> sanityinc.com>
Request was from
Alan Third <alan <at> idiocy.org>
to
control <at> debbugs.gnu.org
.
(Sat, 06 Apr 2019 16:31:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 05 May 2019 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 6 years and 42 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.