* bug#17692: 24.3.91.1; desktop-save-mode error in OS X terminal
@ 2014-06-04 18:33 Stefan Guath
2014-06-04 21:16 ` Juanma Barranquero
0 siblings, 1 reply; 5+ messages in thread
From: Stefan Guath @ 2014-06-04 18:33 UTC (permalink / raw)
To: 17692
VERSION:
GNU Emacs 24.3.91.1 (x86_64-apple-darwin13.2.0, NS apple-appkit-1265.20) of 2014-05-23 on angelofdeaths-MacBook-Air.local
TO REPRODUCE BUG:
In OS X 10.9.3 Terminal:
1) Create a .emacs file with only one expression:
(desktop-save-mode)
2) Run 'emacs -nw' in terminal.
3) Quit emacs, and answer "y" on question "Save desktop? (y or n)". The file .emacs.desktop is now created.
4) Run 'emacs -nw' in terminal again.
5) The error message "Error (frameset): Wrong type argument: number-or-marker-p, nil" appears.
Note: This only happens when running Emacs from Terminal (i.e. 'emacs -nw').
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#17692: 24.3.91.1; desktop-save-mode error in OS X terminal
2014-06-04 18:33 bug#17692: 24.3.91.1; desktop-save-mode error in OS X terminal Stefan Guath
@ 2014-06-04 21:16 ` Juanma Barranquero
2014-06-05 6:52 ` Stefan Guath
0 siblings, 1 reply; 5+ messages in thread
From: Juanma Barranquero @ 2014-06-04 21:16 UTC (permalink / raw)
To: Stefan Guath; +Cc: 17692
On Wed, Jun 4, 2014 at 8:33 PM, Stefan Guath <stefan@automata.se> wrote:
> 5) The error message "Error (frameset): Wrong type argument: number-or-marker-p, nil" appears.
Please tell the contents of the desktop-saved-frameset variable in
your .emacs.desktop file.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#17692: 24.3.91.1; desktop-save-mode error in OS X terminal
2014-06-04 21:16 ` Juanma Barranquero
@ 2014-06-05 6:52 ` Stefan Guath
2014-06-05 7:01 ` Juanma Barranquero
2014-06-05 7:02 ` Stefan Guath
0 siblings, 2 replies; 5+ messages in thread
From: Stefan Guath @ 2014-06-05 6:52 UTC (permalink / raw)
To: Juanma Barranquero; +Cc: 17692
Sure, here it is:
(setq desktop-saved-frameset [frameset 1 (21392 4856 213605 0) (desktop . "206") "lucifer@angelofdeaths-MacBook-Air.local" nil nil ((((tty-type . "xterm-256color") (tty . "/dev/tty") (display-type . color) (background-mode . light) (foreground-color . "unspecified-fg") (cursor-color . "black") (background-color . "unspecified-bg") (font . "tty") (height . 24) (width . 80) (modeline . t) (unsplittable) (menu-bar-lines . 1) (frameset--id . "0850-9AC2-00E5-4A44") (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 . 80) (pixel-height . 22) (total-width . 80) (total-height . 22) (normal-height . 1.0) (normal-width . 1.0) (buffer "*scratch*" (selected . t) (hscroll . 0) (fringes 0 0 nil) (margins nil) (scroll-bars 0 0 t nil) (vscroll . 0) (dedicated) (point . 192) (start . 1))))])
BTW, can you reproduce it, or is it just me?
/Stefan Guath
On 4 jun 2014, at 23:16, Juanma Barranquero <lekktu@gmail.com> wrote:
> On Wed, Jun 4, 2014 at 8:33 PM, Stefan Guath <stefan@automata.se> wrote:
>
>> 5) The error message "Error (frameset): Wrong type argument: number-or-marker-p, nil" appears.
>
> Please tell the contents of the desktop-saved-frameset variable in
> your .emacs.desktop file.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#17692: 24.3.91.1; desktop-save-mode error in OS X terminal
2014-06-05 6:52 ` Stefan Guath
@ 2014-06-05 7:01 ` Juanma Barranquero
2014-06-05 7:02 ` Stefan Guath
1 sibling, 0 replies; 5+ messages in thread
From: Juanma Barranquero @ 2014-06-05 7:01 UTC (permalink / raw)
To: Stefan Guath; +Cc: 17692
On Thu, Jun 5, 2014 at 8:52 AM, Stefan Guath <stefan@automata.se> wrote:
> Sure, here it is:
OK, thanks. I'll look into it.
> BTW, can you reproduce it, or is it just me?
I don't have access to OS X and I haven't seen this on Windows. But
apparently more people uses Emacs in WM environments than terminals,
so it's not unexpected to find a bit more trouble when using -nw.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#17692: 24.3.91.1; desktop-save-mode error in OS X terminal
2014-06-05 6:52 ` Stefan Guath
2014-06-05 7:01 ` Juanma Barranquero
@ 2014-06-05 7:02 ` Stefan Guath
1 sibling, 0 replies; 5+ messages in thread
From: Stefan Guath @ 2014-06-05 7:02 UTC (permalink / raw)
To: Juanma Barranquero; +Cc: 17692
-Oh, I just read your answer for bug #17693. Indeed, adding (setq desktop-restore-frames nil) is a work-around for both this bug (#17692) and also bug #17693. But the user shouldn't have to use these kind of work-arounds. A single (desktop-save-mode) should be sufficient and just work out of the box.
/Stefan Guath
On 5 jun 2014, at 08:52, Stefan Guath <stefan@automata.se> wrote:
> Sure, here it is:
>
> (setq desktop-saved-frameset [frameset 1 (21392 4856 213605 0) (desktop . "206") "lucifer@angelofdeaths-MacBook-Air.local" nil nil ((((tty-type . "xterm-256color") (tty . "/dev/tty") (display-type . color) (background-mode . light) (foreground-color . "unspecified-fg") (cursor-color . "black") (background-color . "unspecified-bg") (font . "tty") (height . 24) (width . 80) (modeline . t) (unsplittable) (menu-bar-lines . 1) (frameset--id . "0850-9AC2-00E5-4A44") (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 . 80) (pixel-height . 22) (total-width . 80) (total-height . 22) (normal-height . 1.0) (normal-width . 1.0) (buffer "*scratch*" (selected . t) (hscroll . 0) (fringes 0 0 nil) (margins nil) (scroll-bars 0 0 t nil) (vscroll . 0) (dedicated) (point . 192) (start . 1))))])
>
> BTW, can you reproduce it, or is it just me?
>
> /Stefan Guath
>
> On 4 jun 2014, at 23:16, Juanma Barranquero <lekktu@gmail.com> wrote:
>
>> On Wed, Jun 4, 2014 at 8:33 PM, Stefan Guath <stefan@automata.se> wrote:
>>
>>> 5) The error message "Error (frameset): Wrong type argument: number-or-marker-p, nil" appears.
>>
>> Please tell the contents of the desktop-saved-frameset variable in
>> your .emacs.desktop file.
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-06-05 7:02 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-04 18:33 bug#17692: 24.3.91.1; desktop-save-mode error in OS X terminal Stefan Guath
2014-06-04 21:16 ` Juanma Barranquero
2014-06-05 6:52 ` Stefan Guath
2014-06-05 7:01 ` Juanma Barranquero
2014-06-05 7:02 ` Stefan Guath
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).