From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 13 18:18:22 2012 Received: (at submit) by debbugs.gnu.org; 13 Sep 2012 22:18:22 +0000 Received: from localhost ([127.0.0.1]:60683 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCHjp-0003QJ-OE for submit@debbugs.gnu.org; Thu, 13 Sep 2012 18:18:22 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33739) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCHjm-0003QB-KL for submit@debbugs.gnu.org; Thu, 13 Sep 2012 18:18:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCHis-0008VI-PC for submit@debbugs.gnu.org; Thu, 13 Sep 2012 18:17:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:55778) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCHis-0008VE-M8 for submit@debbugs.gnu.org; Thu, 13 Sep 2012 18:17:22 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49774) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCHir-0000zk-CZ for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 18:17:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCHip-0008Us-Rg for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 18:17:21 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:60802) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCHip-0008Ud-HO for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 18:17:19 -0400 Received: by wibhq4 with SMTP id hq4so6087142wib.12 for ; Thu, 13 Sep 2012 15:17:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=XrUQ74pWJ2ZIFz7+r6FLwBg/1b4QWGRdh9US+QEpX1I=; b=IAmYkrgzjCpSgY3hlSkACkQHuNGsx5trnX+HwCeUWwp05dzRcQQlGuD8D7/+FbpzDd 7NdGP9ERZSyGrBQrieI4r2+mh8WvjqYyr8Z/e6B8vG5hYICvTdF9ZZQ7vJ+aobypMBCR iiNDT6gc5qCb1g4WZTGvlIb+j2/0e2yfTmCjpQixZN2aTHRdb+zGcZfnKoTm61Jeuy0n 9aGLIVUXekOu2Eko4iJ0BkfvvEf5GqQoRVrkaCwO3T1TcmkBdm4xCYLFIcnhH/K3LTfv kSMS0Zcvvt9NBVbI6KtUiNmHaWawBm4xBw2gNX7IDo45Y0FUeyZiA5HA9cKRh9SnHtPk forg== MIME-Version: 1.0 Received: by 10.216.195.143 with SMTP id p15mr289698wen.167.1347574638365; Thu, 13 Sep 2012 15:17:18 -0700 (PDT) Received: by 10.227.208.207 with HTTP; Thu, 13 Sep 2012 15:17:18 -0700 (PDT) Date: Thu, 13 Sep 2012 15:17:18 -0700 Message-ID: Subject: 24.2; Edits to buffer does not get written to the file (Issue Does not happen in 23.x version) From: Vishwajith Singh To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 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-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) 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) From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 13 18:33:04 2012 Received: (at submit) by debbugs.gnu.org; 13 Sep 2012 22:33:04 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 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 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 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 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 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== MIME-Version: 1.0 Received: by 10.216.134.40 with SMTP id r40mr345816wei.88.1347575520703; Thu, 13 Sep 2012 15:32:00 -0700 (PDT) Received: by 10.227.208.207 with HTTP; Thu, 13 Sep 2012 15:32:00 -0700 (PDT) In-Reply-To: References: Date: Thu, 13 Sep 2012 15:32:00 -0700 Message-ID: Subject: Re: 24.2; Edits to buffer does not get written to the file (Issue Does not happen in 23.x version) From: Vishwajith Singh To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 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-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) 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) From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 13 18:52:07 2012 Received: (at submit) by debbugs.gnu.org; 13 Sep 2012 22:52:07 +0000 Received: from localhost ([127.0.0.1]:60757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCIGU-0004GT-PU for submit@debbugs.gnu.org; Thu, 13 Sep 2012 18:52:07 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53896) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCIGS-0004GJ-3A for submit@debbugs.gnu.org; Thu, 13 Sep 2012 18:52:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCIFY-0005vN-NK for submit@debbugs.gnu.org; Thu, 13 Sep 2012 18:51:10 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:35987) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCIFY-0005v5-K5 for submit@debbugs.gnu.org; Thu, 13 Sep 2012 18:51:08 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51849) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCIFW-0000pS-L1 for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 18:51:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCIFU-0005t2-K1 for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 18:51:06 -0400 Received: from mail-wi0-f169.google.com ([209.85.212.169]:39158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCIFU-0005ss-Ah for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 18:51:04 -0400 Received: by wibhm2 with SMTP id hm2so1393497wib.0 for ; Thu, 13 Sep 2012 15:51:03 -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=Z1n8EFjte5sfWvqtBEvo5bptwa1BDz7hReJcDyzooeU=; b=jHO8Qtj90CzNhgh1KMtssOpoV5cmr1/Xze72oJrmUWOnAX/m2tThpijnEPinYX3w1b BzL1XieOBOTdZX0md1z+Dgiwh4tugay24lGDEKofCEK5w+4ITJuE4M5+SCMGyHyYzktq 6lOaat6hF7JJiuGH1T9bndA/g6XQp5mg0RwYINw+ABV4PWOzWoh+xgnX8H3sD0uyBKQJ BJ1bV67f/Qw/gDXVmJVBNkxdX6zezpIYWtQ9z3vFoqt9NS/64xEqQE7ABWKgZaJdPZaq uJVyoT6kfgaZp4Sz0H51ikDa+0SrhT6/nT3mJaenmRd9UuLJsuogxkFxO53oilGlbH3J 0nug== MIME-Version: 1.0 Received: by 10.180.76.69 with SMTP id i5mr1425130wiw.9.1347576663228; Thu, 13 Sep 2012 15:51:03 -0700 (PDT) Received: by 10.227.208.207 with HTTP; Thu, 13 Sep 2012 15:51:03 -0700 (PDT) In-Reply-To: References: Date: Thu, 13 Sep 2012 15:51:03 -0700 Message-ID: Subject: Re: 24.2; Edits to buffer does not get written to the file (Issue Does not happen in 23.x version) From: Vishwajith Singh To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 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-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) Is is possible that emacs 24.2 is not honoring the umask setting...? 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) From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 13 18:55:38 2012 Received: (at submit) by debbugs.gnu.org; 13 Sep 2012 22:55:38 +0000 Received: from localhost ([127.0.0.1]:60761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCIJt-0004LG-P4 for submit@debbugs.gnu.org; Thu, 13 Sep 2012 18:55:38 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54611) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCIJq-0004L7-UT for submit@debbugs.gnu.org; Thu, 13 Sep 2012 18:55:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCIIx-0006xL-Cq for submit@debbugs.gnu.org; Thu, 13 Sep 2012 18:54:41 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:37510) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCIIx-0006xG-9G for submit@debbugs.gnu.org; Thu, 13 Sep 2012 18:54:39 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52567) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCIIv-0001rZ-PT for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 18:54:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCIIt-0006wY-JL for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 18:54:37 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:35960) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCIIt-0006w7-AW for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 18:54:35 -0400 Received: by wibhq4 with SMTP id hq4so6111959wib.12 for ; Thu, 13 Sep 2012 15:54:34 -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=Gr7OFOmhjbqUIM5Z9UATd+oCq72iS/8hZDW+aj3erRg=; b=SNERsW++/a3trSxXrKMZHXuPvOtWTvB2GSTYLYxOrx36twJ8Qlu7k8hvkfTfyg5M3h AkG0Oqbml2+y0XSP0mevO+4Ib3QF4oZwMNayb31JfTXw4aF/KcaXCdVWwv10FtK0xT5Y ZsTQBuXU/S89kLRqm7bnSno3pqRPnRlV9hxFYjGxc0crtks46e5Vk/Pc7Nrb986Iqpdc aET4nykx8ou+fqN2gNdIIi0e9ixGvTQkWEypEk9Qy/synRLBcYy6GJO4hMWWx0m+BSk0 pR4hMp1Ak5hIw78zJ3jYxxAwy80hzNkf4kzPQx/OZSFf5ha8CWnf7mtv8IuejZRZhxMj XCxg== MIME-Version: 1.0 Received: by 10.180.87.34 with SMTP id u2mr43441077wiz.3.1347576874374; Thu, 13 Sep 2012 15:54:34 -0700 (PDT) Received: by 10.227.208.207 with HTTP; Thu, 13 Sep 2012 15:54:34 -0700 (PDT) In-Reply-To: References: Date: Thu, 13 Sep 2012 15:54:34 -0700 Message-ID: Subject: Re: 24.2; Edits to buffer does not get written to the file (Issue Does not happen in 23.x version) From: Vishwajith Singh To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 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-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) I found another user complaining about the same issue here - http://forums.gentoo.org/viewtopic-p-7139116.html But I am unable to figure out whether any hooks are getting executed when I do a save-buffer On Thu, Sep 13, 2012 at 3:51 PM, Vishwajith Singh wrote: > Is is possible that emacs 24.2 is not honoring the umask setting...? > > > > 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) From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 13 19:05:23 2012 Received: (at submit) by debbugs.gnu.org; 13 Sep 2012 23:05:23 +0000 Received: from localhost ([127.0.0.1]:60790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCITL-0004a4-37 for submit@debbugs.gnu.org; Thu, 13 Sep 2012 19:05:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45031) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCITH-0004Zw-6q for submit@debbugs.gnu.org; Thu, 13 Sep 2012 19:05:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCISN-0002Pt-Ho for submit@debbugs.gnu.org; Thu, 13 Sep 2012 19:04:25 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:38019) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCISN-0002Pp-Ef for submit@debbugs.gnu.org; Thu, 13 Sep 2012 19:04:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCISL-00035F-Ny for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 19:04:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCISK-0002P0-2J for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 19:04:21 -0400 Received: from mail-wg0-f67.google.com ([74.125.82.67]:53412) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCISJ-0002On-O2 for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 19:04:19 -0400 Received: by wgbdt10 with SMTP id dt10so284254wgb.6 for ; Thu, 13 Sep 2012 16:04:18 -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=IZ49eswpoPVGAwEr0FUwD09fYizHsPrZ45p9Obmk+U0=; b=xmeID1ktWcbeGhkP5G+ytz9x9pgjou4KgP8WU4nz98YdQEFuIEBxeftW+EyihQ0iG1 ImXGViujrj92fu5PkOOGTFIVFxB+M2dBmk6jNTr13AevdExd0bsbePnOfUNhquNdxQo1 ZBTxO1lucXGS1hYmmiB0M6iuUf0lx4PiP3onNS2zWdhRW7ZHLPMdbY90LaQjtkNgwEUV Q1u9RX653oKI5bi7IAGbpxVK7NaF0jNmXg+LV5fzSxirvmmMI0sGFpfM0W1AJVTh7Ulg VYouDhCtz6yTqhoiA0Vgc1E8XhXtb3PnBWA2cHM1px2fOI5myJvT9I6lHXus78oP3tCf OhgQ== MIME-Version: 1.0 Received: by 10.216.195.143 with SMTP id p15mr342158wen.167.1347577458811; Thu, 13 Sep 2012 16:04:18 -0700 (PDT) Received: by 10.227.208.207 with HTTP; Thu, 13 Sep 2012 16:04:18 -0700 (PDT) In-Reply-To: References: Date: Thu, 13 Sep 2012 16:04:18 -0700 Message-ID: Subject: Re: 24.2; Edits to buffer does not get written to the file (Issue Does not happen in 23.x version) From: Vishwajith Singh To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 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-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) Debugging... emacs 23.3 Alt-X ielm ELISP> (save_buffer) The mode buffer prompts as "File to save in: ~/" emacs 24.2 Alt-X ielm ELISP (save-buffer) nil The issue seems to be with the save-buffer function or any hooks..? (Which...?) Can anyone help me with any clues... On Thu, Sep 13, 2012 at 3:54 PM, Vishwajith Singh wrote: > I found another user complaining about the same issue here - > http://forums.gentoo.org/viewtopic-p-7139116.html > > But I am unable to figure out whether any hooks are getting executed > when I do a save-buffer > > > On Thu, Sep 13, 2012 at 3:51 PM, Vishwajith Singh wrote: >> Is is possible that emacs 24.2 is not honoring the umask setting...? >> >> >> >> 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) From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 13 20:58:35 2012 Received: (at 12437) by debbugs.gnu.org; 14 Sep 2012 00:58:35 +0000 Received: from localhost ([127.0.0.1]:60857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCKEt-0007z8-Hc for submit@debbugs.gnu.org; Thu, 13 Sep 2012 20:58:35 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:46281) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCKEq-0007z0-P5 for 12437@debbugs.gnu.org; Thu, 13 Sep 2012 20:58:33 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TCKDx-0001uB-Om; Thu, 13 Sep 2012 20:57:37 -0400 From: Glenn Morris To: Vishwajith Singh Subject: Re: bug#12437: 24.2; Edits to buffer does not get written to the file (Issue Does not happen in 23.x version) References: X-Spook: 2600 Magazine JFK Agfa Medco counter intelligence Bosnia X-Ran: KQlcA{J~?*zhHn8Fz%iY,'4s1ir]OFAKc&8W6yb}k~:z+P.gK>M'S.o+sEWsSk&[V X-Hue: black X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 13 Sep 2012 20:57:37 -0400 In-Reply-To: (Vishwajith Singh's message of "Thu, 13 Sep 2012 15:17:18 -0700") Message-ID: <0o627ho1z2.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -7.4 (-------) X-Debbugs-Envelope-To: 12437 Cc: 12437@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -7.4 (-------) > Why is this happening in 24.2? Because of something in your .emacs, or other local settings. It works fine here. Repeat your tests using emacs -Q which ignores .emacs, and see that it works fine for you too. Then investigate your .emacs to see where the problem is. A standard procedure is to comment out half the file, restart, see if the problem still happens, if yes you know the problem is somewhere in that half, comment out half the remainder, repeat until you narrow down the piece causing the problem. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 24 21:24:06 2012 Received: (at control) by debbugs.gnu.org; 25 Sep 2012 01:24:06 +0000 Received: from localhost ([127.0.0.1]:54022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TGJsc-0001oT-Bn for submit@debbugs.gnu.org; Mon, 24 Sep 2012 21:24:06 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:52560) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TGJsa-0001oH-8S; Mon, 24 Sep 2012 21:24:04 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TGJqg-000864-Jh; Mon, 24 Sep 2012 21:22:06 -0400 From: Glenn Morris To: 12437-done@debbugs.gnu.org Subject: Re: bug#12437: 24.2; Edits to buffer does not get written to the file (Issue Does not happen in 23.x version) References: <0o627ho1z2.fsf@fencepost.gnu.org> X-Spook: defense information warfare 9705 Samford Road Ft. Meade X-Ran: SMUAo8PfT:!H{:&f*XMKuxBvp;HIIg.)buZN%v(?!i>mw7&>!wU-m"rmy>k~ajUO=1mKBQ X-Hue: red X-Attribution: GM Date: Mon, 24 Sep 2012 21:22:06 -0400 In-Reply-To: <0o627ho1z2.fsf@fencepost.gnu.org> (Glenn Morris's message of "Thu, 13 Sep 2012 20:57:37 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -7.7 (-------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -7.7 (-------) tags 12437 notabug stop I'm closing this since I don't think there is any Emacs bug here. Feel free to followup with more details if you disagree. From unknown Mon Aug 18 19:33:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 23 Oct 2012 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator