From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yi Wang Newsgroups: gmane.emacs.bugs Subject: bug#13059: frame-title does not update modified toggle on tmpfs Date: Mon, 3 Dec 2012 07:59:38 +0900 Message-ID: References: <83txs4s3u6.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8f839f6f614e2f04cfe69677 X-Trace: ger.gmane.org 1354489250 32517 80.91.229.3 (2 Dec 2012 23:00:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Dec 2012 23:00:50 +0000 (UTC) Cc: 13059@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 03 00:01:02 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TfIWw-0004R8-0c for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Dec 2012 00:00:58 +0100 Original-Received: from localhost ([::1]:58898 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TfIWk-0001zA-FD for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Dec 2012 18:00:46 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54448) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TfIWi-0001z4-6W for bug-gnu-emacs@gnu.org; Sun, 02 Dec 2012 18:00:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TfIWh-0008EP-84 for bug-gnu-emacs@gnu.org; Sun, 02 Dec 2012 18:00:44 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40297) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TfIWh-0008EJ-4h for bug-gnu-emacs@gnu.org; Sun, 02 Dec 2012 18:00:43 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TfIYv-0004rj-Jh for bug-gnu-emacs@gnu.org; Sun, 02 Dec 2012 18:03:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Yi Wang Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Dec 2012 23:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13059 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13059-submit@debbugs.gnu.org id=B13059.135448932318633 (code B ref 13059); Sun, 02 Dec 2012 23:03:01 +0000 Original-Received: (at 13059) by debbugs.gnu.org; 2 Dec 2012 23:02:03 +0000 Original-Received: from localhost ([127.0.0.1]:50547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TfIXy-0004qT-EW for submit@debbugs.gnu.org; Sun, 02 Dec 2012 18:02:02 -0500 Original-Received: from mail-oa0-f44.google.com ([209.85.219.44]:38374) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TfIXv-0004q3-2I for 13059@debbugs.gnu.org; Sun, 02 Dec 2012 18:02:00 -0500 Original-Received: by mail-oa0-f44.google.com with SMTP id n5so2068825oag.3 for <13059@debbugs.gnu.org>; Sun, 02 Dec 2012 14:59:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ivQK82HqzKX9gBBZu1Z3GgtcdUm1h9ig+rFL6ih4ywI=; b=d8Li9mZUPV3LJkVKI1M0lJykn2eNQDTX2djOZNTPu4snXmBxlYLQqRS084BQnMxQIA m5HVFrkE43IFVdPAkLqPE+NnHFm8rObMc8V5W8k+U7EPugyqQg9YlRdKDKvciSpOJy4l 1uDzwJ1cpbJjK1PU9PPnZ5sATeZRHwqpucs7ioJMyp/WybNN0ovXF+yWmNBfTEUJ+hcF Blnee/Fx9zlJPvwavHNHYMjxNC3jYyZp0BPloHoGXXqUQ/6ymc68bvfikytfVdUNImlp 7j6aTXVUnN33awk/UQ5z0RTA4mpt79s60e9dsu9JVv2qrJEHAZjp+UkFeAYZZVB6LbTZ wgFA== Original-Received: by 10.182.172.74 with SMTP id ba10mr2962030obc.83.1354489179229; Sun, 02 Dec 2012 14:59:39 -0800 (PST) Original-Received: by 10.76.24.9 with HTTP; Sun, 2 Dec 2012 14:59:38 -0800 (PST) In-Reply-To: <83txs4s3u6.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:67818 Archived-At: --e89a8f839f6f614e2f04cfe69677 Content-Type: text/plain; charset=ISO-8859-1 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 wrote: > > Date: Sun, 2 Dec 2012 17:51:26 +0900 > > From: Yi Wang > > Cc: Yi Wang > > > > 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? > --e89a8f839f6f614e2f04cfe69677 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable It sounds strange.=A0

For me, this problem never happene= d on obscure then re-expose windows.=A0

On the other han= d, 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 ha= ve edit permission), and use root to edit a file at /. At all those positio= ns 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 <tririver= wangyi@gmail.com>
> Cc: Yi Wang <tririverwa= ngyi@gmail.com>
>
> If I set frame-title as:
>
> (setq frame-title-format "%b =A0%* ")
>
> The modified mark * will display correctly for normal files. But for f= iles
> in /tmp (where tmpfs is enabled), the modified mark almost never appea= rs
> (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?

--e89a8f839f6f614e2f04cfe69677--