[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#13298: closed (24.3.50; Cannot write backup file;

From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#13298: closed (24.3.50; Cannot write backup file; backing up in ~\.emacs.d\%backup%~)
Date: Sat, 29 Dec 2012 19:13:02 +0000

Your message dated Sat, 29 Dec 2012 21:11:10 +0200
with message-id <address@hidden>
and subject line Re: bug#13298: 24.3.50; Cannot write backup file; backing up 
in ~\.emacs.d\%backup%~
has caused the debbugs.gnu.org bug report #13298,
regarding 24.3.50; Cannot write backup file; backing up in ~\.emacs.d\%backup%~
to be marked as done.

(If you believe you have received this mail in error, please contact

13298: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13298
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.3.50; Cannot write backup file; backing up in ~\.emacs.d\%backup%~ Date: Sat, 29 Dec 2012 00:43:28 +0400
The latest trunk now spews an error each time it's closed.
A build from emacs-24 on the same system doesn't.

1. emacs -Q
2. M-x ido-mode OR M-x recentf-mode (either one's fine)
3. C-x C-c
4. See the message above and a new directory in ~\.emacs.d\ (if it
didn't exist already).

In GNU Emacs (i386-mingw-nt6.1.7601)
 of 2012-12-28 on SOL
Bzr revision: 111361 address@hidden
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --with-gcc (3.4) --cflags -IJ:/Apps/System/gnuwin32/include'

Important settings:
  value of $EMACSDATA: C:/Users/gutov/vc/emacs-bzr/trunk/etc
  value of $EMACSDOC: C:/Users/gutov/vc/emacs-bzr/trunk/etc
  value of $EMACSLOADPATH: 
  value of $EMACSPATH: C:/Users/gutov/vc/emacs-bzr/trunk/bin
  value of $LANG: RUS
  locale-coding-system: cp1251
  default enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
  bug-reference-prog-mode: t
  recentf-mode: t
  shell-dirtrack-mode: t
  helm-match-plugin-mode: t
  elisp-slime-nav-mode: t
  paredit-mode: t
  global-undo-tree-mode: t
  undo-tree-mode: t
  global-diff-hl-mode: t
  diff-hl-mode: t
  diff-auto-refine-mode: t
  savehist-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  global-auto-revert-mode: t
  autopair-global-mode: t
  cua-mode: t
  winner-mode: t
  ido-ubiquitous-mode: t
  ido-everywhere: t
  show-paren-mode: t
  global-ethan-wspace-mode: t
  ethan-wspace-mode: t
  ethan-wspace-clean-many-nls-eof-mode: t
  ethan-wspace-clean-no-nl-eof-mode: t
  ethan-wspace-clean-eol-mode: t
  ethan-wspace-clean-tabs-mode: t
  eproject-mode: t
  eldoc-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  auto-fill-function: do-auto-fill
  transient-mark-mode: t

Recent input:
C-; d e v e m v <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> i n i t . e l <return> 
<C-end> <S-up> <S-up> <S-up> <S-up> <S-up> <S-up> <S-up> 
<S-up> <S-up> <S-up> <S-up> <S-up> <S-up> M-; C-x C-s 
<lwindow> C-z C-x C-s <up> <S-up> <S-up> M-; C-x C-s 
<lwindow> <S-down> <S-down> M-; <up> <up> <up> <up> 
<S-down> <S-down> <S-down> <S-down> <S-down> <S-down> 
<S-down> <S-down> <S-down> <S-down> <S-down> <S-down> 
<S-down> <S-down> <S-down> <S-down> <S-down> <S-down> 
<S-down> M-; C-x C-s <lwindow> C-z C-x C-s <help-echo> 
<down-mouse-1> <mouse-1> <home> <S-down> <S-down> <S-down> 
<S-down> <S-down> <S-down> <S-down> <S-down> <S-down> 
<S-down> <S-down> <S-down> <S-down> <S-down> <S-down> 
<S-down> <S-down> <down> <S-up> <S-up> <S-up> <S-up> 
<S-up> <S-up> <S-up> <S-up> <S-up> <S-up> <S-up> <S-up> 
<S-up> <S-up> <S-up> <S-up> <S-up> <S-up> M-; C-x C-s 
<lwindow> <lwindow> <S-down> <S-down> <S-down> <S-down> 
<S-down> <S-down> <S-down> <S-down> <S-down> <S-down> 
<S-down> <S-down> <S-down> <S-down> <S-down> <S-down> 
<S-down> <S-down> <S-down> M-; C-x C-s <lwindow> <down-mouse-1> 
<mouse-1> C-x 3 C-x C-f C-d <return> C-x k <return> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <return> <down> <down> <down> <down> <lwindow> 
<lwindow> g <help-echo> <down-mouse-1> <mouse-1> g 
<help-echo> <help-echo> <down-mouse-1> <mouse-1> <help-echo> 
<help-echo> <help-echo> <help-echo> ^ <lwindow> <lwindow> 
<lwindow> <help-echo> <down-mouse-1> <mouse-1> C-x 
0 M-x C-g M-x r e p o r t <return>

Recent messages:
Saving file c:/Users/gutov/.emacs.d/init.el...
Wrote c:/Users/gutov/.emacs.d/init.el
Saving file c:/Users/gutov/.emacs.d/init.el...
Wrote c:/Users/gutov/.emacs.d/init.el
Saving file c:/Users/gutov/.emacs.d/init.el...
Wrote c:/Users/gutov/.emacs.d/init.el
byte-code: End of buffer
Saving file c:/Users/gutov/.emacs.d/init.el...
Wrote c:/Users/gutov/.emacs.d/init.el

Load-path shadows:
c:/Users/gutov/.emacs.d/elpa/magit-20121030.2025/.dir-locals hides 
c:/Users/gutov/.emacs.d/elpa/zossima-20121117.108/zossima hides 
c:/Users/gutov/.emacs.d/elpa/smartrep-20120905.2101/smartrep hides 
c:/Users/gutov/.emacs.d/elpa/smartrep-20120905.2101/smartrep hides 
c:/Users/gutov/.emacs.d/elpa/magit-20121030.2025/.dir-locals hides 

(shadow sort 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 smerge-mode unsafep
bug-reference bug-reference-github helm-misc tramp-cache tramp-sh
recentf tree-widget wid-edit bow helm-files image-dired tramp
tramp-compat tramp-loaddefs shell pcomplete format-spec dired-x
dired-aux thingatpt helm-tags helm-locate helm-help helm-external
helm-bookmark helm-buffers helm-grep helm-regexp grep helm-elscreen
helm-utils compile helm-match-plugin helm helm-config elisp-slime-nav
etags paredit saveplace undo-tree diff diff-hl smartrep face-remap vc-hg
vc-git vc-dir ewoc vc vc-dispatcher diff-mode savehist yasnippet
autorevert autopair cua-base winner .emacs-loaddefs cyril-util
auto-complete-autoloads autopair-autoloads
bug-reference-github-autoloads clojure-mode-autoloads
coffee-mode-autoloads color-theme-solarized-autoloads
color-theme-autoloads column-marker-autoloads expand-region-autoloads
feature-mode-autoloads findr-autoloads flymake-coffee-autoloads
flymake-ruby-autoloads flymake-easy-autoloads helm-descbinds-autoloads
iedit-autoloads inflections-autoloads iy-go-to-char-autoloads
list-utils-autoloads markdown-mode-autoloads move-text-autoloads
occidental-theme-autoloads popup-autoloads popwin-autoloads
pos-tip-autoloads rainbow-mode-autoloads robe-autoloads
ruby-electric-autoloads ruby-tools-autoloads sass-mode-autoloads
haml-mode-autoloads finder-inf smartrep-autoloads win-switch
starter-kit-bindings-autoloads windmove starter-kit-lisp-autoloads
elisp-slime-nav-autoloads starter-kit-autoloads smex starter-kit-misc
warnings ffap url-parse auth-source eieio byte-opt bytecomp byte-compile
cconv gnus-util mm-util mail-prsvr password-cache url-vars
ido-ubiquitous ido paren starter-kit-defuns uniquify magit-autoloads
ido-ubiquitous-autoloads smex-autoloads find-file-in-project-autoloads
idle-highlight-mode-autoloads paredit-autoloads
sunrise-commander-autoloads switch-window-autoloads typing-autoloads
undo-tree-autoloads wgrep-autoloads win-switch-autoloads
yaml-mode-autoloads yasnippet-autoloads zossima-autoloads
inf-ruby-autoloads package devenv eproject-extras ibuf-macs ibuf-ext
ibuffer iswitchb ethan-wspace point-stack eproject derived easy-mmode
esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg eldoc esh-groups
eshell esh-module esh-mode esh-util progmodes mmm mmm-auto mmm-vars
mmm-compat cl-macs gv cl cl-lib keys find-func quail help-mode easymenu
hippie hippie-exp comint ansi-color dired winring ring transpose-frame
iflipb misc prefs help-at-pt cus-start cus-load edmacro kmacro defuns
nadvice advice help-fns time-date tooltip ediff-hook vc-hooks
lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win
w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list
newcomment 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 button faces cus-face macroexp files text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process w32notify w32
multi-tty emacs)

--- End Message ---
--- Begin Message --- Subject: Re: bug#13298: 24.3.50; Cannot write backup file; backing up in ~\.emacs.d\%backup%~ Date: Sat, 29 Dec 2012 21:11:10 +0200
> Date: Sat, 29 Dec 2012 22:33:04 +0400
> From: Dmitry Gutov <address@hidden>
> CC: address@hidden
> On 29.12.2012 21:28, Eli Zaretskii wrote:
> >> Why doesn't Emacs try to show the elevation dialog, anyway?
> >
> > The elevation dialog comes from Windows, when it does.  Applications
> > don't show it, they just can trigger it by performing operations that
> > require elevation.  But UAC behaves strangely when Administrators are
> > involved.
> I'm not familiar with Windows API, but I think there's a specific way to 
> request the elevation. For example, foobar2000 installer starts up 
> normally, but shows the elevation dialog when you click on the "Update" 
> button, with the same standard shield icon as in Explorer.

I'm guessing that this foobar2000 restarts itself with elevated level
when you click on "Update".  That's the only way I know of to request
elevation programmatically -- it can only be done at process start
time.  Once the process started, it has its privileges in the process
token, and that cannot be changed.

> > You could try taking care of this issue by manually taking ownership
> > of the C:\Users\Gutov directory and all of its files and
> > subdirectories.  Setting the owner of C:\Users\Gutov to either your
> > user or the Administrators group will probably resolve the problem.
> Changing the owner of the directory itself didn't do it (I didn't check 
> "replace on all subcontainers"), but changing the owner of each 
> problematic file did it. Thanks!

OK, so I guess I can now close this bug.  Thanks for helping me test
the solution.

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]