From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: jeffmasters443@gmail.com Newsgroups: gmane.emacs.bugs Subject: Re: bug#12437: 24.2; Edits to buffer does not get written to the file (Issue Does not happen in 23.x version) Date: Thu, 15 Mar 2018 04:54:19 -0700 (PDT) Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1521120448 23408 195.159.176.226 (15 Mar 2018 13:27:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 15 Mar 2018 13:27:28 +0000 (UTC) Injection-Date: Thu, 15 Mar 2018 11:54:20 +0000 User-Agent: G2/1.0 To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 15 14:27:24 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ewSui-0005yF-5U for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Mar 2018 14:27:24 +0100 Original-Received: from localhost ([::1]:51551 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ewSwk-0000El-Ve for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Mar 2018 09:29:31 -0400 X-Received: by 10.55.98.194 with SMTP id w185mr5283772qkb.34.1521114860752; Thu, 15 Mar 2018 04:54:20 -0700 (PDT) X-Received: by 10.31.171.82 with SMTP id u79mr1002585vke.3.1521114860293; Thu, 15 Mar 2018 04:54:20 -0700 (PDT) Original-Path: usenet.stanford.edu!t24no338230qtn.0!news-out.google.com!c39ni625qta.0!nntp.google.com!r16no338575qtn.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.bug In-Reply-To: Complaints-To: groups-abuse@google.com Original-Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=70.105.166.185; posting-account=GrVs7woAAAAY8ztVlAruJOGxoOz7ufrb Original-NNTP-Posting-Host: 70.105.166.185 Original-Xref: usenet.stanford.edu gnu.emacs.bug:162538 X-Mailman-Approved-At: Thu, 15 Mar 2018 09:29:22 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list 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" Xref: news.gmane.org gmane.emacs.bugs:144311 Archived-At: On Thursday, September 13, 2012 at 6:17:18 PM UTC-4, 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)