From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vishwajith Singh Newsgroups: gmane.emacs.bugs Subject: bug#12437: 24.2; Edits to buffer does not get written to the file (Issue Does not happen in 23.x version) Date: Thu, 13 Sep 2012 15:32:00 -0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1347575597 20976 80.91.229.3 (13 Sep 2012 22:33:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Sep 2012 22:33:17 +0000 (UTC) To: 12437@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 14 00:33:20 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 1TCHyJ-0004ei-Pz for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Sep 2012 00:33:20 +0200 Original-Received: from localhost ([::1]:52417 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCHyF-0005u0-QF for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Sep 2012 18:33:15 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48939) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCHyC-0005ts-G6 for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 18:33:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCHy8-0005VW-W9 for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 18:33:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51146) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCHy8-0005VS-Sb for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 18:33:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TCHz0-0003nI-7o for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 18:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vishwajith Singh Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Sep 2012 22:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12437 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.134757558414511 (code B ref -1); Thu, 13 Sep 2012 22:34:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Sep 2012 22:33:04 +0000 Original-Received: from localhost ([127.0.0.1]:60692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCHy3-0003lz-ED for submit@debbugs.gnu.org; Thu, 13 Sep 2012 18:33:04 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46234) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCHy1-0003lb-19 for submit@debbugs.gnu.org; Thu, 13 Sep 2012 18:33:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCHx7-0005LE-G2 for submit@debbugs.gnu.org; Thu, 13 Sep 2012 18:32:06 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:33751) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCHx7-0005L8-CL for submit@debbugs.gnu.org; Thu, 13 Sep 2012 18:32:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCHx5-0005jT-TU for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 18:32:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCHx4-0005KZ-AR for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 18:32:03 -0400 Original-Received: from mail-we0-f169.google.com ([74.125.82.169]:58458) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCHx3-0005KH-WE for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 18:32:02 -0400 Original-Received: by weys10 with SMTP id s10so2194576wey.0 for ; Thu, 13 Sep 2012 15:32:00 -0700 (PDT) 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 :content-type; bh=2/IWVZwWNSDsNYN+fsA1qvtGfxLXFu9375MZ3zsOcOY=; b=WWH8dRZkxJt4iFOBftUb+vOYZ0L51eqe+9bb31AizBqsIZazq4YcZ4HxghumOLb6Y3 9wEUXp9YJDyyRcv9bdXncbzDExfuNf54qmYajSp4cZVAyhQBFbSRutfsDZWgaVBj4e5H tYsGBW2OH5IaiZfbI1hc1+DX6yapZKgJ7c5RTxTESlPW6J4GHIBQTxoqCnDHkZ/SbsGP guGjESlbNMdyUeN4AaGAZqw4qMSKHyKtCtHLZp20/fvjvwYtjG2Q/sb5VYtujTzNma5u FOkJ+55Lzynzt2vfqpcAANfcOK6XaCBWGbSSYbgOySIoSBjzO134p/D7Y/crB+7wGyOL lv5w== Original-Received: by 10.216.134.40 with SMTP id r40mr345816wei.88.1347575520703; Thu, 13 Sep 2012 15:32:00 -0700 (PDT) Original-Received: by 10.227.208.207 with HTTP; Thu, 13 Sep 2012 15:32:00 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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 (newer, 2) 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:64256 Archived-At: There seems to be a subtle difference in the message between emacs 24.2 and emacs 23.3 When you try saving the file in emacs 24.2 the message is "Saving the file...." But of course the changes do not get saved... In emacs 23.3, the message is "Wrote file..." And the changes get saved. - V On Thu, Sep 13, 2012 at 3:17 PM, Vishwajith Singh wrote: > Issue: 24.2; Edits to buffer does not get written to the file whereas > the same file can be edited in emacs-23.3 without issues. > > Here's what happens - > > emacs 24.2 > ========== > 1) Open a file with permissions "-rwxrwxrwx". > The modeline shows "---" indicating that the file is writable. > 2) Edit the file > The modeline show "**-" > 3) Save the file... > The modebuffer shows "Saving file..." > The modeline still shows "**-" > 3) Now try quitting the buffer. > The modeline shows "Changes made to the file, quit anyway..." > Strange message since the changes were saved in step 2. > If you quit, the changes are lost. > > emacs 23.x > ========== > 1) OPen the same file in older emacs 23.X version and go thourgh the > same steps. No issues and the changes are savsed and the buffer can be > quit... > > Why is this happening in 24.2? > > > ================================================================== > In GNU Emacs 24.2.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) > of 2012-09-11 on lca-700s > Windowing system distributor `Hummingbird - Open Text', version 11.0.13800 > Configured using: > `configure '--prefix=/usr/local/emacs-24.2'' > > Important settings: > value of $LC_ALL: nil > value of $LC_COLLATE: nil > value of $LC_CTYPE: nil > value of $LC_MESSAGES: nil > value of $LC_MONETARY: nil > value of $LC_NUMERIC: nil > value of $LC_TIME: nil > value of $LANG: C > value of $XMODIFIERS: nil > locale-coding-system: nil > default enable-multibyte-characters: t > > Major mode: Shell > > Minor modes in effect: > dirtrack-mode: t > show-paren-mode: t > shell-dirtrack-mode: t > recentf-mode: t > 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 > column-number-mode: t > line-number-mode: t > transient-mark-mode: t > > Recent input: > > > 9 C-s C-s C-s C-s C-x C-s M-k C-g C-x C-s > M-k y l s SPC - l SPC c d SPC - l > s SPC - l SPC c d SPC - C-x > C-x C-s M-k y l s SPC - > l SPC h s s l s SPC - a l > C-x C-f h s _ a s C-s C-s C-s > > > > 9 C-x C-s M-k y > > > > > w h i c h SPC e > m a c s n e d i t SPC h s a a > C-s C-s C-x > C-f M-p C-s C-s C-s C-s C-x C-s > C-x C-s M-k > M-k y > e a SPC | SPC g r e p SPC e m a c > s > $ E M A S C S _ O L D > M-x r e p o r t - > > > > > > > > > > > > Recent messages: > Buffer hs_async_scheduler.v modified; kill anyway? (y or n) y > scroll-up: End of buffer > Mark saved where search started [2 times] > (No changes need to be saved) > Saving file /proj/sycmr0/wa/vsingh/tmp/vault/ip_design/usb3_host_core/August_6_2012/mrvl_host_vpp/asic_release/src/xhci/transaction_scheduler/hs_async_scheduler.v... > Buffer hs_async_scheduler.v modified; kill anyway? (y or n) n > Buffer hs_async_scheduler.v modified; kill anyway? (y or n) y > Mark set > /proj/sycmr0/wa/vsingh/tmp/vault/ip_design/usb3_host_core/August_6_2012/mrvl_host_vpp/asic_release/src/xhci/transaction_scheduler > Making completion list... [2 times] > > Load-path shadows: > None found. > > Features: > (shadow mail-extr emacsbug message rfc822 mml mml-sec mm-decode > mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader > sendmail rfc2047 rfc2045 ietf-drums mail-utils executable tabify > verilog-mode skeleton compile diff ffap misearch multi-isearch make-mode > help-mode view pcmpl-unix autoinsert sunrise-commander tramp > tramp-compat auth-source eieio assoc gnus-util mm-util mail-prsvr > password-cache format-spec tramp-loaddefs esh-var esh-io esh-cmd esh-ext > esh-proc esh-arg eldoc esh-groups eshell esh-util esh-module esh-mode > dired-aux desktop term ehelp electric sort hl-line find-dired disp-table > enriched dired-x dired derived jka-compr protbuf dirtrack vc-hg linum > paren cus-start cus-load ediff-trees ediff-merg ediff-diff ediff-wind > ediff-help ediff-util ediff-mult ediff-init ediff breadcrumb byte-opt > warnings bytecomp byte-compile cconv macroexp shell-command shell > pcomplete comint regexp-opt ansi-color ring column-marker color-theme cl > recentf tree-widget wid-edit easymenu tabbar easy-mmode hide-lines > hide-region advice help-fns advice-preload setnu ibs edmacro kmacro > time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd > tool-bar dnd fontset image fringe 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 files text-properties overlay sha1 md5 base64 format env > code-pages mule custom widget hashtable-print-readable backquote > make-network-process dynamic-setting font-render-setting x-toolkit x > multi-tty emacs)