unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14788: frame-title-format unable to alter frame title
@ 2013-07-04 10:41 Mark McKenzie
  2013-07-04 15:22 ` Eli Zaretskii
  2013-07-05  7:44 ` martin rudalics
  0 siblings, 2 replies; 11+ messages in thread
From: Mark McKenzie @ 2013-07-04 10:41 UTC (permalink / raw)
  To: 14788

Until recently I had this line in my .emacs in order to get the file path 
into the title bar of emacs (I work with files with the same name in 
different locations, don't even go there)

(setq frame-title-format "%f")

Last week I upgraded my system and it stopped working.

frame-title-format seems to be readonly in this new system

Emacs: 24.2.1 (i686-redhat-linux-gnu, GTK+ Version 3.6.4) of 2013-06-11 on buildvm-12.phx2.fedoraproject.org
Window Manager: Gnome 3
OS: Fedora 18
Linux Kernel: 3.9.6-200.fc18.i686.PAE


Like an idiot I don't have the exact stats for my old system

Emacs: approx 21
Window Manager : Gnome 2
OS: Fedora 13
Linux Kernel : ??

----

I got around it using modify-frame-parameters for 'name on a post command 
hook.





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

* bug#14788: frame-title-format unable to alter frame title
  2013-07-04 10:41 bug#14788: frame-title-format unable to alter frame title Mark McKenzie
@ 2013-07-04 15:22 ` Eli Zaretskii
  2013-07-04 15:31   ` Mark McKenzie
  2013-07-05  7:44 ` martin rudalics
  1 sibling, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2013-07-04 15:22 UTC (permalink / raw)
  To: Mark McKenzie; +Cc: 14788

> Date: Thu, 4 Jul 2013 11:41:09 +0100 (BST)
> From: Mark McKenzie <mark@ssl.co.uk>
> 
> Until recently I had this line in my .emacs in order to get the file path 
> into the title bar of emacs (I work with files with the same name in 
> different locations, don't even go there)
> 
> (setq frame-title-format "%f")
> 
> Last week I upgraded my system and it stopped working.

Works for me.  But my build is not a GTK build, perhaps this is
specific to GTK?





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

* bug#14788: frame-title-format unable to alter frame title
  2013-07-04 15:22 ` Eli Zaretskii
@ 2013-07-04 15:31   ` Mark McKenzie
  2013-07-04 17:32     ` Jan Djärv
  0 siblings, 1 reply; 11+ messages in thread
From: Mark McKenzie @ 2013-07-04 15:31 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 14788

On Thu, 4 Jul 2013, Eli Zaretskii wrote:

>> Date: Thu, 4 Jul 2013 11:41:09 +0100 (BST)
>> From: Mark McKenzie <mark@ssl.co.uk>
>>
>> Until recently I had this line in my .emacs in order to get the file path
>> into the title bar of emacs (I work with files with the same name in
>> different locations, don't even go there)
>>
>> (setq frame-title-format "%f")
>>
>> Last week I upgraded my system and it stopped working.
>
> Works for me.  But my build is not a GTK build, perhaps this is
> specific to GTK?
>
Thanks for checking. I might see if I can find the time to build from 
source against an earlier gtk or other x toolkit. After my recent upgrade 
my instinct is to wail and moan about Gnome 3 but I'm sure that's just me 
being irrational. I'll mail to 14788@debbugs.gnu.org if I discover 
anything.

Thanks again.





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

* bug#14788: frame-title-format unable to alter frame title
  2013-07-04 15:31   ` Mark McKenzie
@ 2013-07-04 17:32     ` Jan Djärv
  2013-07-05  9:39       ` Mark McKenzie
  0 siblings, 1 reply; 11+ messages in thread
From: Jan Djärv @ 2013-07-04 17:32 UTC (permalink / raw)
  To: Mark McKenzie; +Cc: 14788

Hello.

4 jul 2013 kl. 17:31 skrev Mark McKenzie <mark@ssl.co.uk>:

> On Thu, 4 Jul 2013, Eli Zaretskii wrote:
> 
>>> Date: Thu, 4 Jul 2013 11:41:09 +0100 (BST)
>>> From: Mark McKenzie <mark@ssl.co.uk>
>>> 
>>> Until recently I had this line in my .emacs in order to get the file path
>>> into the title bar of emacs (I work with files with the same name in
>>> different locations, don't even go there)
>>> 
>>> (setq frame-title-format "%f")
>>> 
>>> Last week I upgraded my system and it stopped working.
>> 
>> Works for me.  But my build is not a GTK build, perhaps this is
>> specific to GTK?
>> 
> Thanks for checking. I might see if I can find the time to build from source against an earlier gtk or other x toolkit. After my recent upgrade my instinct is to wail and moan about Gnome 3 but I'm sure that's just me being irrational. I'll mail to 14788@debbugs.gnu.org if I discover anything.

It works fine on Gtk 3 on Fedora 18 with Gnome 3.  Can you reproduce the error when starting Emacs with -Q?

	Jan D.







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

* bug#14788: frame-title-format unable to alter frame title
  2013-07-04 10:41 bug#14788: frame-title-format unable to alter frame title Mark McKenzie
  2013-07-04 15:22 ` Eli Zaretskii
@ 2013-07-05  7:44 ` martin rudalics
  2013-07-05  9:48   ` Mark McKenzie
  1 sibling, 1 reply; 11+ messages in thread
From: martin rudalics @ 2013-07-05  7:44 UTC (permalink / raw)
  To: Mark McKenzie; +Cc: 14788

 > (setq frame-title-format "%f")
 >
 > Last week I upgraded my system and it stopped working.
 >
 > frame-title-format seems to be readonly in this new system

What happens when you evaluate

(setq frame-title-format "%b")

Also note that the title does not update immediately after evaluating
such a form.  Does switching to another buffer help?

martin





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

* bug#14788: frame-title-format unable to alter frame title
  2013-07-04 17:32     ` Jan Djärv
@ 2013-07-05  9:39       ` Mark McKenzie
  2015-12-26  0:52         ` Lars Ingebrigtsen
  0 siblings, 1 reply; 11+ messages in thread
From: Mark McKenzie @ 2013-07-05  9:39 UTC (permalink / raw)
  To: Jan Djärv; +Cc: 14788

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1393 bytes --]

On Thu, 4 Jul 2013, Jan Djärv wrote:

> Hello.
>
> 4 jul 2013 kl. 17:31 skrev Mark McKenzie <mark@ssl.co.uk>:
>
>> On Thu, 4 Jul 2013, Eli Zaretskii wrote:
>>
>>>> Date: Thu, 4 Jul 2013 11:41:09 +0100 (BST)
>>>> From: Mark McKenzie <mark@ssl.co.uk>
>>>>
>>>> Until recently I had this line in my .emacs in order to get the file path
>>>> into the title bar of emacs (I work with files with the same name in
>>>> different locations, don't even go there)
>>>>
>>>> (setq frame-title-format "%f")
>>>>
>>>> Last week I upgraded my system and it stopped working.
>>>
>>> Works for me.  But my build is not a GTK build, perhaps this is
>>> specific to GTK?
>>>
>> Thanks for checking. I might see if I can find the time to build from source against an earlier gtk or other x toolkit. After my recent upgrade my instinct is to wail and moan about Gnome 3 but I'm sure that's just me being irrational. I'll mail to 14788@debbugs.gnu.org if I discover anything.
>
> It works fine on Gtk 3 on Fedora 18 with Gnome 3.  Can you reproduce the error when starting Emacs with -Q?
>
> 	Jan D.
>
>
>
Yes. I reduced my .emacs file to a single line

(setq frame-title-format "%f")

I just get "emacs@" followed by the hostname in the title bar.

If you managed to get it working on the same system specs then I suspect 
it must be something odd in the rest of my system configuration. I'll 
start taking a look

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

* bug#14788: frame-title-format unable to alter frame title
  2013-07-05  7:44 ` martin rudalics
@ 2013-07-05  9:48   ` Mark McKenzie
  2013-07-05 11:26     ` Jan Djärv
  0 siblings, 1 reply; 11+ messages in thread
From: Mark McKenzie @ 2013-07-05  9:48 UTC (permalink / raw)
  To: martin rudalics; +Cc: 14788

On Fri, 5 Jul 2013, martin rudalics wrote:

>>  (setq frame-title-format "%f")
>>
>>  Last week I upgraded my system and it stopped working.
>>
>>  frame-title-format seems to be readonly in this new system
>
> What happens when you evaluate
>
> (setq frame-title-format "%b")
>
> Also note that the title does not update immediately after evaluating
> such a form.  Does switching to another buffer help?
>
> martin
>
>
Same thing happens.

Normally you get the basename of the file followed by " - emacs@" followed 
by the hostname

With emacs -Q you just get emacs@hostname





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

* bug#14788: frame-title-format unable to alter frame title
  2013-07-05  9:48   ` Mark McKenzie
@ 2013-07-05 11:26     ` Jan Djärv
  2013-07-05 14:24       ` Eli Zaretskii
  0 siblings, 1 reply; 11+ messages in thread
From: Jan Djärv @ 2013-07-05 11:26 UTC (permalink / raw)
  To: Mark McKenzie; +Cc: 14788

Hello.

5 jul 2013 kl. 11:48 skrev Mark McKenzie <mark@ssl.co.uk>:

> On Fri, 5 Jul 2013, martin rudalics wrote:
> 
>>> (setq frame-title-format "%f")
>>> 
>>> Last week I upgraded my system and it stopped working.
>>> 
>>> frame-title-format seems to be readonly in this new system
>> 
>> What happens when you evaluate
>> 
>> (setq frame-title-format "%b")
>> 
>> Also note that the title does not update immediately after evaluating
>> such a form.  Does switching to another buffer help?
>> 
>> martin
>> 
>> 
> Same thing happens.
> 
> Normally you get the basename of the file followed by " - emacs@" followed by the hostname
> 
> With emacs -Q you just get emacs@hostname
> 

You always get emacs@hostname if you just have one frame.
Also, note that -Q does not read your .emacs so you have to really evaluate the setq inside Emacs.

	Jan D.






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

* bug#14788: frame-title-format unable to alter frame title
  2013-07-05 11:26     ` Jan Djärv
@ 2013-07-05 14:24       ` Eli Zaretskii
  0 siblings, 0 replies; 11+ messages in thread
From: Eli Zaretskii @ 2013-07-05 14:24 UTC (permalink / raw)
  To: Jan Djärv; +Cc: mark, 14788

> From: Jan Djärv <jan.h.d@swipnet.se>
> Date: Fri, 5 Jul 2013 13:26:47 +0200
> Cc: 14788@debbugs.gnu.org
> 
> You always get emacs@hostname if you just have one frame.

Not here, not with '(setq frame-title-format "%f")' in my .emacs.  If
I invoke "emacs" (without -Q), I get the splash screen with nothing in
the title bar.  If I then visit some file in the same single frame, I
see the file's full file name there.





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

* bug#14788: frame-title-format unable to alter frame title
  2013-07-05  9:39       ` Mark McKenzie
@ 2015-12-26  0:52         ` Lars Ingebrigtsen
  2016-02-29  5:31           ` Lars Ingebrigtsen
  0 siblings, 1 reply; 11+ messages in thread
From: Lars Ingebrigtsen @ 2015-12-26  0:52 UTC (permalink / raw)
  To: Mark McKenzie; +Cc: Jan Djärv, 14788

Mark McKenzie <mark@ssl.co.uk> writes:

> Yes. I reduced my .emacs file to a single line
>
> (setq frame-title-format "%f")
>
> I just get "emacs@" followed by the hostname in the title bar.

I'm unable to reproduce this in Emacs 25.  Are you still seeing this?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

* bug#14788: frame-title-format unable to alter frame title
  2015-12-26  0:52         ` Lars Ingebrigtsen
@ 2016-02-29  5:31           ` Lars Ingebrigtsen
  0 siblings, 0 replies; 11+ messages in thread
From: Lars Ingebrigtsen @ 2016-02-29  5:31 UTC (permalink / raw)
  To: Mark McKenzie; +Cc: Jan Djärv, 14788

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Mark McKenzie <mark@ssl.co.uk> writes:
>
>> Yes. I reduced my .emacs file to a single line
>>
>> (setq frame-title-format "%f")
>>
>> I just get "emacs@" followed by the hostname in the title bar.
>
> I'm unable to reproduce this in Emacs 25.  Are you still seeing this?

More information was requested, but no response was given within a few
months, so I'm closing this bug report.  If the problem still exists,
please reopen this bug report.
-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

end of thread, other threads:[~2016-02-29  5:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-04 10:41 bug#14788: frame-title-format unable to alter frame title Mark McKenzie
2013-07-04 15:22 ` Eli Zaretskii
2013-07-04 15:31   ` Mark McKenzie
2013-07-04 17:32     ` Jan Djärv
2013-07-05  9:39       ` Mark McKenzie
2015-12-26  0:52         ` Lars Ingebrigtsen
2016-02-29  5:31           ` Lars Ingebrigtsen
2013-07-05  7:44 ` martin rudalics
2013-07-05  9:48   ` Mark McKenzie
2013-07-05 11:26     ` Jan Djärv
2013-07-05 14:24       ` Eli Zaretskii

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