unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13059: frame-title does not update modified toggle on tmpfs
@ 2012-12-02  8:51 Yi Wang
  2012-12-02 18:31 ` Eli Zaretskii
  2021-07-15 17:17 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 7+ messages in thread
From: Yi Wang @ 2012-12-02  8:51 UTC (permalink / raw)
  To: 13059; +Cc: Yi Wang

[-- Attachment #1: Type: text/plain, Size: 380 bytes --]

Hello,

If I set frame-title as:

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

The modified mark * will display correctly for normal files. But for files
in /tmp (where tmpfs is enabled), the modified mark almost never appears
(though actually buffer is modified).

On the other hand, the modified mark on the mode-line always displays
correctly.

Perhaps this is a bug?

Best wishes,
Yi

[-- Attachment #2: Type: text/html, Size: 533 bytes --]

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

* bug#13059: frame-title does not update modified toggle on tmpfs
  2012-12-02  8:51 bug#13059: frame-title does not update modified toggle on tmpfs Yi Wang
@ 2012-12-02 18:31 ` Eli Zaretskii
  2012-12-02 22:59   ` Yi Wang
  2021-07-15 17:17 ` Lars Ingebrigtsen
  1 sibling, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2012-12-02 18:31 UTC (permalink / raw)
  To: Yi Wang; +Cc: 13059, tririverwangyi

> Date: Sun, 2 Dec 2012 17:51:26 +0900
> From: Yi Wang <tririverwangyi@gmail.com>
> Cc: Yi Wang <tririverwangyi@gmail.com>
> 
> If I set frame-title as:
> 
> (setq frame-title-format "%b  %* ")
> 
> The modified mark * will display correctly for normal files. But for files
> in /tmp (where tmpfs is enabled), the modified mark almost never appears
> (though actually buffer is modified).

Does this happen only for tmpfs volumes?

If you obscure the frame with some other window of another
application, and then re-expose it again, does the modification
indication gets updated?





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

* bug#13059: frame-title does not update modified toggle on tmpfs
  2012-12-02 18:31 ` Eli Zaretskii
@ 2012-12-02 22:59   ` Yi Wang
  0 siblings, 0 replies; 7+ messages in thread
From: Yi Wang @ 2012-12-02 22:59 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 13059

[-- Attachment #1: Type: text/plain, Size: 1132 bytes --]

It sounds strange.

For me, this problem never happened on obscure then re-expose windows.

On the other hand, tmpfs should not be the reason either. The modified mark
fail to update at everywhere *except* for files in the home directory or
subdirectories of $HOME. For example, I tried /tmp, /var/tmp, a file
outside $HOME (while have edit permission), and use root to edit a file at
/. At all those positions I had this problem.

Best wishes,
Yi


On Mon, Dec 3, 2012 at 3:31 AM, Eli Zaretskii <eliz@gnu.org> wrote:

> > Date: Sun, 2 Dec 2012 17:51:26 +0900
> > From: Yi Wang <tririverwangyi@gmail.com>
> > Cc: Yi Wang <tririverwangyi@gmail.com>
> >
> > If I set frame-title as:
> >
> > (setq frame-title-format "%b  %* ")
> >
> > The modified mark * will display correctly for normal files. But for
> files
> > in /tmp (where tmpfs is enabled), the modified mark almost never appears
> > (though actually buffer is modified).
>
> Does this happen only for tmpfs volumes?
>
> If you obscure the frame with some other window of another
> application, and then re-expose it again, does the modification
> indication gets updated?
>

[-- Attachment #2: Type: text/html, Size: 1685 bytes --]

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

* bug#13059: frame-title does not update modified toggle on tmpfs
  2012-12-02  8:51 bug#13059: frame-title does not update modified toggle on tmpfs Yi Wang
  2012-12-02 18:31 ` Eli Zaretskii
@ 2021-07-15 17:17 ` Lars Ingebrigtsen
  2021-07-15 23:35   ` Yi Wang
  1 sibling, 1 reply; 7+ messages in thread
From: Lars Ingebrigtsen @ 2021-07-15 17:17 UTC (permalink / raw)
  To: Yi Wang; +Cc: 13059

Yi Wang <tririverwangyi@gmail.com> writes:

> If I set frame-title as:
>
> (setq frame-title-format "%b  %* ")
>
> The modified mark * will display correctly for normal files. But for
> files in /tmp (where tmpfs is enabled), the modified mark almost never
> appears (though actually buffer is modified).

(I'm going through old bug reports that unfortunately got little response at
the time.)

I tried reproducing this on Debian/bullseye with Emacs 28 now in this
directory:
 
tmpfs           1.6G  896K  1.6G   1% /run/user/1000

And I was unable to -- the "*" appeared in the frame title as expected.

Are you still seeing this issue in recent Emacs versions?

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





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

* bug#13059: frame-title does not update modified toggle on tmpfs
  2021-07-15 17:17 ` Lars Ingebrigtsen
@ 2021-07-15 23:35   ` Yi Wang
  2021-07-16  8:47     ` Lars Ingebrigtsen
  2021-08-13 12:37     ` Lars Ingebrigtsen
  0 siblings, 2 replies; 7+ messages in thread
From: Yi Wang @ 2021-07-15 23:35 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 13059

[-- Attachment #1: Type: text/plain, Size: 1397 bytes --]

Sorry, I don't have a linux machine to test now. I tested that this bug
still exists on Emacs 24.3.1, running on 3.10.0-693.5.2.el7.x86_64
of Scientific Linux 7.3 by running a remote X-window. The * mark updates
when I am under user home folder but not updating when I am in a file in
/tmp. I don't have access to a more recent version of Emacs and was unable
to install a more recent version of emacs there. If the bug is no longer
there, it may be just fine now.

Lars Ingebrigtsen <larsi@gnus.org> 于2021年7月16日周五 上午1:17写道:

> Yi Wang <tririverwangyi@gmail.com> writes:
>
> > If I set frame-title as:
> >
> > (setq frame-title-format "%b  %* ")
> >
> > The modified mark * will display correctly for normal files. But for
> > files in /tmp (where tmpfs is enabled), the modified mark almost never
> > appears (though actually buffer is modified).
>
> (I'm going through old bug reports that unfortunately got little response
> at
> the time.)
>
> I tried reproducing this on Debian/bullseye with Emacs 28 now in this
> directory:
>
> tmpfs           1.6G  896K  1.6G   1% /run/user/1000
>
> And I was unable to -- the "*" appeared in the frame title as expected.
>
> Are you still seeing this issue in recent Emacs versions?
>
> --
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no
>

[-- Attachment #2: Type: text/html, Size: 2046 bytes --]

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

* bug#13059: frame-title does not update modified toggle on tmpfs
  2021-07-15 23:35   ` Yi Wang
@ 2021-07-16  8:47     ` Lars Ingebrigtsen
  2021-08-13 12:37     ` Lars Ingebrigtsen
  1 sibling, 0 replies; 7+ messages in thread
From: Lars Ingebrigtsen @ 2021-07-16  8:47 UTC (permalink / raw)
  To: Yi Wang; +Cc: 13059

Yi Wang <tririverwangyi@gmail.com> writes:

> Sorry, I don't have a linux machine to test now. I tested that this
> bug still exists on Emacs 24.3.1, running on 3.10.0-693.5.2.el7.x86_64
> of Scientific Linux 7.3 by running a remote X-window. The * mark
> updates when I am under user home folder but not updating when I am in
> a file in /tmp. I don't have access to a more recent version of Emacs
> and was unable to install a more recent version of emacs there. If the
> bug is no longer there, it may be just fine now.

Emacs 24.3 doesn't compile on my machine, so I can't check,
unfortunately.  Can somebody that has both 24.3 and 25.1 (and tmpfs)
verify that the bug is present in 24.3 and gone in 25.1?

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





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

* bug#13059: frame-title does not update modified toggle on tmpfs
  2021-07-15 23:35   ` Yi Wang
  2021-07-16  8:47     ` Lars Ingebrigtsen
@ 2021-08-13 12:37     ` Lars Ingebrigtsen
  1 sibling, 0 replies; 7+ messages in thread
From: Lars Ingebrigtsen @ 2021-08-13 12:37 UTC (permalink / raw)
  To: Yi Wang; +Cc: 13059

Yi Wang <tririverwangyi@gmail.com> writes:

> Sorry, I don't have a linux machine to test now. I tested that this bug still
> exists on Emacs 24.3.1, running on 3.10.0-693.5.2.el7.x86_64 of Scientific
> Linux 7.3 by running a remote X-window. The * mark updates when I am
> under user home folder but not updating when I am in a file in /tmp. I don't
> have access to a more recent version of Emacs and was unable to install a
> more recent version of emacs there. If the bug is no longer there, it may be
> just fine now.

OK; since I'm not able to reproduce this in Emacs 25.1, I'm going to go
ahead and guess that it's working now, and I'm closing this bug report.
If somebody is able to reproduce the problem in a recent Emacs version,
please respond to the debbugs address and we'll reopen.

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





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

end of thread, other threads:[~2021-08-13 12:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-02  8:51 bug#13059: frame-title does not update modified toggle on tmpfs Yi Wang
2012-12-02 18:31 ` Eli Zaretskii
2012-12-02 22:59   ` Yi Wang
2021-07-15 17:17 ` Lars Ingebrigtsen
2021-07-15 23:35   ` Yi Wang
2021-07-16  8:47     ` Lars Ingebrigtsen
2021-08-13 12:37     ` Lars Ingebrigtsen

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