unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: John Covici <covici@ccs.covici.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 24298@debbugs.gnu.org
Subject: bug#24298: Acknowledgement (25.1; problem with restoring desktop)
Date: Sat, 10 Dec 2016 10:02:11 -0500	[thread overview]
Message-ID: <m3inqr96a4.wl-covici@ccs.covici.com> (raw)
In-Reply-To: <83pokzg944.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 2147 bytes --]

On Sat, 10 Dec 2016 09:19:07 -0500,
Eli Zaretskii wrote:
> 
> > Date: Sun, 04 Dec 2016 10:34:37 -0500
> > From: John Covici <covici@ccs.covici.com>
> > Cc: 24298@debbugs.gnu.org
> > 
> > On Sun, 04 Dec 2016 10:28:23 -0500,
> > Eli Zaretskii wrote:
> > > 
> > > > Date: Sat, 03 Dec 2016 20:51:48 -0500
> > > > From: John Covici <covici@ccs.covici.com>
> > > > 
> > > > OK, doing a git bisect, I found the commit which breaks my desktop
> > > > restore -- I am using a text console here.
> > > > 
> > > > [c9f7ec736b78bef5359b6da03296277c535e8e89] * lisp/desktop.el: Disable
> > > > restore frameset if in non-graphic display.
> > > 
> > > Does this mean you have more than one frame in your text-terminal
> > > sessions, after restoring the desktop?  What effect does the following
> > > command produce after you restore the session?
> > > 
> > >   C-x 5 o
> > > 
> > > If you have more than one frame, you should now see "Fn" at the left
> > > edge of the mode line, where n is a small integer, which is different
> > > from the one you saw there before the above command.
> > 
> > Nope, this is a text console,  the command does nothing.
> 
> Then I'm afraid I cannot reproduce this.  I tried restoring my desktop
> in "emacs -nw" several times, and each time I end up looking at the
> same 2 buffers displayed in 2 windows one below the other.
> 
> Could you perhaps create the smallest desktop file that reproduces
> this problem for you, and post it?  I'd like to experiment with it.
> 
> Thanks.

I can reproduce this with a  desktop with just two buffers, what
happens is when the commit is there, the wrong buffer is the current
one and  if I do c-x-b it has the scratch buffer as the next one
rather than the previous buffer.  For instance in the desktop I will
send you, the current buffer is the Makefile, but when I restore the
desktop, default.xml is made the current buffer instead and the
scratch buffer is the default for c-x-b.  Now this is not bad in
itself, but in a desktop with a lot of buffers, it makes the current
buffer some random one instead, so its very annoying.

Here is the desktop which reproduces this every time.

[-- Attachment #2: .emacs.desktop --]
[-- Type: application/octet-stream, Size: 6729 bytes --]

;; -*- mode: emacs-lisp; coding: emacs-mule; -*-
;; --------------------------------------------------------------------------
;; Desktop File for Emacs
;; --------------------------------------------------------------------------
;; Created Sun Dec  4 15:26:45 2016
;; Desktop file format version 208
;; Emacs version 25.0.94.1

;; Global section:
(setq desktop-saved-frameset [frameset 1 (22596 31749 703752 723000) (desktop . "208") "root@ccs.covici.com" nil nil ((((tty-type . "linux") (tty . "/dev/tty") (display-type . color) (background-mode . dark) (foreground-color . "unspecified-fg") (cursor-color . "white") (menu-bar-lines . 0) (vertical-scroll-bars) (tool-bar-lines . 0) (background-color . "unspecified-bg") (font . "tty") (height . 67) (width . 240) (modeline . t) (unsplittable) (frameset--id . "00F1-254F-D06A-6BA5") (frameset--mini t) (minibuffer . t)) ((min-height . 4) (min-width . 10) (min-height-ignore . 2) (min-width-ignore . 2) (min-height-safe . 1) (min-width-safe . 2) (min-pixel-height . 4) (min-pixel-width . 10) (min-pixel-height-ignore . 2) (min-pixel-width-ignore . 2) (min-pixel-height-safe . 1) (min-pixel-width-safe . 2)) leaf (pixel-width . 240) (pixel-height . 66) (total-width . 240) (total-height . 66) (normal-height . 1.0) (normal-width . 1.0) (buffer "default.xml" (selected . t) (hscroll . 0) (fringes 0 0 nil) (margins nil) (scroll-bars nil 0 t nil 0 nil) (vscroll . 0) (dedicated) (point . 23872) (start . 21872))))])
(setq desktop-missing-file-warning nil)
(setq tags-file-name nil)
(setq tags-table-list nil)
(setq search-ring nil)
(setq regexp-search-ring '("client" "firefox" "streamer" "firefox" "dev-python/urllib3" "810337284" "httpd" "^ *mod" "^mod" "apache" "^mod" "module" "apache" "py_mod_var" "py_cv" "py_cv_mod"))
(setq register-alist '((99 . "weak-algorithms") (98 . "(add-hook'c-mode-common-hook \n (function(lambda()\n(c-toggle-auto-state 1))))\n   (autoload 'csharp-mode \"csharp-mode\" \"Major mode for editing C# code.\" t)\n   (setq auto-mode-alist\n      (append '((\"\\\\.cs$\" . csharp-mode)) auto-mode-alist))\n   (setq auto-mode-alist\n      (append '((\"\\\\.cs$\" . csharp-mode)) auto-mode-alist))\n") (65 . "<extension name = \"trunk to galaxyvoice\">\n<condition field=\"destination_number\" expression=\"^(\\*27(.*))$\">\n      <action application=\"set\" data=\"effective_caller_id_number=$${outbound_caller_id_number}\"/>\n      <action application=\"set\" data=\"effective_caller_id_name=$${outbound_caller_id_name}\"/>\n<action application=\"set\" data=\"real_destination_number=${destination_number}\"/>\n<action application=\"execute_extension\" data=\"setup_recording\"/>\n<action application=\"bridge\" data=\"sofia/gateway/galaxyvoice/$2\"/>\n</condition>\n</extension>\n") (97 . "image=/boot/vmlinuz-4.4.27-gentoo\nlabel=4.4.27-zfs\nread-only\nappend=\"nosplash ramdisk=8192   video=uvesafb:1920x1080  speakup.synth=spkout vmalloc=256M  init=/usr/lib/systemd/systemd rd.shell=1       rd.lvm.vg=pool-files irqpoll=1\"\ninitrd=/boot/initramfs-4.4.27-gentoo.img\n")))
(setq file-name-history '("/etc/pulse/" "/etc/pulse/daemon.conf" "/etc/portage/package.use" "/usr/portage/www-client/firefox/firefox-50.0.2.ebuild" "/usr/portage/www-client/firefox/metadata.xml" "/etc/portage/package.use" "/usr/src/freeswitch/libs/apr-util/Makefile" "/usr/src/world_update.txt" "/etc/portage/package.mask" "/usr/src/world_update.txt" "/etc/portage/package.use" "/etdc/portage/package.use" "/var/log/getaaa.log" "/usr/bin/linuxdoc" "/usr/bin/linuxdoc-tools" "/var/log/apache2/ssl_request_log.1" "/var/log/apache2/ssl_request_log" "~/.mykermrc" "~/.kermrc" "/usr/sbin/rkhunter" "/usr/bin/rkhunter" "/usr/src/orca/configure" "/usr/src/orca/config.log" "/usr/src/rss2email/rss2email.py" "/usr/local/freeswitch/log/freeswitch.log" "/usr/src/world_update.txt" "/var/log/rkhunter.log" "/usr/src/linux-4.4.31-gentoo/.config" "/usr/src/world_update.txt" "/etc/portage/package.use" "/etc/portage/package.mask" "/usr/local/freeswitch/log/cdr-csv/FULL_Master.csv" "/var/log/portage" "/var/tmp/portage/app-accessibility/brltty-9999/work/brltty-9999/Documents/" "/var/tmp/portage/app-accessibility/brltty-9999/work/brltty-9999/Documents/Makefile" "/var/log/portage" "/etc/lilo.conf" "/usr/src/temp.txt" "/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/configure" "/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/config.log" "/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/configure" "~/.zshrc.~5~" "~/.zshrc" "/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/configure" "/var/log/portage" "/usr/portage/sys-kernel/spl/spl-9999.ebuild" "/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/configure" "/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/config.log" "/etc/cron.daily" "/etc/logrotate.d/" "/var/lib/mpd/" "/etc/logrotate.d/mpd" "/usr/local/freeswitch/log/cdr-csv/FULL_Master.csv" "/etc/portage/package.use" "/etc/portage/package.mask" "/var/log/rkhunter.log" "/etc/make.conf" "/etc/portage/package.use" "/etc/portage/package.mask" "~/.mykermrc" "/var/log/getbfg.log" "/usr/bin/backup_to_azure_batch.sh" "/usr/bin/backup_to_azure.sh" "/etc/apache2/modules.d/00_apache_manual.conf" "/var/log/messages" "/var/log/messages.1" "/var/log/messages" "/etc/rkhunter.conf" "/usr/lib/rkhunter/scripts/" "/etc/rkhunter.conf" "/usr/bin/ldd" "/etc/cron.daily/rkhunter" "/var/log/rkhunter.log" "/etc/cron.daily/rkhunter" "/etc/portage/package.use" "~/.mykermrc" "/var/log/messages" "/usr/bin/backup_to_azure_batch.sh" "/etc/freeswitch/conf/sip_profiles/external/eir.xml" "/usr/src/world_update.txt" "/usr/src/temp.txt" "/mnt/misc" "/var/log/portage/app-text:mupdf-1.9a:20161030-201754.log" "/var/log/apache2/ssl_request_log" "/var/log/apache2/ssl_request_log.2" "/var/log/apache2/ssl_request_log.1" "/var/log/apache2/ssl_request_log" "/usr/src/" "/usr/src/world_update.txt" "/var/log/emerge.log" "/usr/src/world_update.txt" "/etc/portage/package.unmask" "/usr/portage/profiles/package.mask" "/tmp/vmware-covici/" "/etc/env.d/90vmware" "~/" "/usr/bin/backup_to_azure_batch.sh" "/var/log/getbfg.log" "/var/log/apache2/ssl_request_log" "/usr/src/temp.txt"))

;; Buffer section -- buffers listed in same order as in buffer list:
(desktop-create-buffer 208
  "/etc/freeswitch/conf/dialplan/default.xml"
  "default.xml"
  'nxml-mode
  '(auto-fill-mode)
  23872
  '(17644 nil)
  nil
  nil
  '((buffer-file-coding-system . utf-8-unix))
  '((mark-ring (6462 23996 20813 23871 23795 23938 21412 23795 24529 25637))))

(desktop-create-buffer 208
  "/usr/local/portage/app-accessibility/brltty/brltty-9999.ebuild"
  "brltty-9999.ebuild"
  'text-mode
  '(auto-fill-mode)
  4325
  '(4042 nil)
  nil
  nil
  '((buffer-file-coding-system . undecided-unix))
  '((mark-ring (4334))))


[-- Attachment #3: Type: text/plain, Size: 150 bytes --]


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com

  reply	other threads:[~2016-12-10 15:02 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-24 11:31 bug#24298: 25.1; problem with restoring desktop John Covici
2016-08-24 14:23 ` Eli Zaretskii
2016-08-24 14:53   ` John Covici
2016-08-24 15:11     ` Eli Zaretskii
2016-08-25  1:32       ` John Covici
2016-08-24 15:46 ` martin rudalics
2016-08-24 16:02   ` Eli Zaretskii
2016-08-24 20:57     ` N. Jackson
2016-08-25  9:16       ` martin rudalics
2016-08-25 13:09         ` N. Jackson
2016-08-25 14:52           ` Eli Zaretskii
2016-08-25  9:16     ` martin rudalics
2016-08-25 14:48       ` Eli Zaretskii
2016-08-25 15:31         ` John Covici
2016-08-25 16:22           ` Eli Zaretskii
2016-08-25 18:22             ` John Covici
2016-08-25 18:30               ` Eli Zaretskii
2016-08-25 19:04                 ` John Covici
2016-08-25 19:18                   ` Eli Zaretskii
2016-08-25 19:30                     ` John Covici
2016-08-25  1:33   ` John Covici
2016-08-25  9:17     ` martin rudalics
2016-08-25 10:56       ` John Covici
2016-08-25 12:27         ` martin rudalics
2016-08-25 14:50           ` Eli Zaretskii
     [not found] ` <handler.24298.B.14720383029936.ack@debbugs.gnu.org>
2016-12-04  1:51   ` bug#24298: Acknowledgement (25.1; problem with restoring desktop) John Covici
2016-12-04 15:28     ` Eli Zaretskii
2016-12-04 15:34       ` John Covici
2016-12-10 14:19         ` Eli Zaretskii
2016-12-10 15:02           ` John Covici [this message]
2016-12-10 15:50             ` Eli Zaretskii
2016-12-10 16:02               ` John Covici
2016-12-10 17:47                 ` Eli Zaretskii
2016-12-10 18:46                   ` John Covici
2016-12-17 13:11                     ` Eli Zaretskii
2016-12-17 14:05                       ` John Covici
2016-12-17 14:46                         ` Eli Zaretskii
2016-12-17 16:41                           ` John Covici
2016-12-17 17:07                             ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3inqr96a4.wl-covici@ccs.covici.com \
    --to=covici@ccs.covici.com \
    --cc=24298@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).