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:54:34 -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 1347576915 31294 80.91.229.3 (13 Sep 2012 22:55:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Sep 2012 22:55:15 +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:55:19 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 1TCIJa-0003nN-F1 for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Sep 2012 00:55:18 +0200 Original-Received: from localhost ([::1]:56173 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCIJW-00021D-QO for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Sep 2012 18:55:14 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60801) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCIJS-00020w-E3 for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 18:55:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCIJQ-0007NI-D3 for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 18:55:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51215) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCIJQ-0007MX-1l for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 18:55:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TCIKH-0004Lu-I1 for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 18:56:01 -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:56:01 +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.134757693816697 (code B ref -1); Thu, 13 Sep 2012 22:56:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Sep 2012 22:55:38 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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== Original-Received: by 10.180.87.34 with SMTP id u2mr43441077wiz.3.1347576874374; Thu, 13 Sep 2012 15:54:34 -0700 (PDT) Original-Received: by 10.227.208.207 with HTTP; Thu, 13 Sep 2012 15:54:34 -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:64258 Archived-At: 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)