From: "Juanma Barranquero" <lekktu@gmail.com>
To: "martin rudalics" <rudalics@gmx.at>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: "Attempt to modify read-only object" error with set-frame-configuration
Date: Thu, 20 Dec 2007 14:09:07 +0100 [thread overview]
Message-ID: <f7ccd24b0712200509h66b5f2ecp3400c864d60ce292@mail.gmail.com> (raw)
In-Reply-To: <476A3CF7.7040203@gmx.at>
On Dec 20, 2007 10:59 AM, martin rudalics <rudalics@gmx.at> wrote:
> Hmm ... Why does Emacs -Q and evaluating
>
> (setq default-frame-alist '((visibility . t)))
>
> not cause the problem? Why does removing the visibility entry from
> `parms' in `set-frame-configuration' still cause the problem?
That's why I said "I'd bet": because I had not tested. :)
Try this:
(let* ((cfg (current-frame-configuration))
(atr (cdadr cfg)))
(setcar atr (assq-delete-all 'horizontal-scroll-bars (car atr)))
(setcar atr (assq-delete-all 'visibility (car atr)))
(set-frame-configuration cfg))
Juanma
next prev parent reply other threads:[~2007-12-20 13:09 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-19 21:32 "Attempt to modify read-only object" error with set-frame-configuration martin rudalics
2007-12-19 21:47 ` Andreas Schwab
2007-12-19 22:09 ` Stephen Berman
2007-12-19 23:18 ` Johan Bockgård
2007-12-19 23:59 ` Juanma Barranquero
2007-12-20 9:59 ` martin rudalics
2007-12-20 13:09 ` Juanma Barranquero [this message]
2007-12-20 16:02 ` martin rudalics
2007-12-20 17:11 ` Juanma Barranquero
2007-12-20 18:36 ` martin rudalics
2007-12-20 23:06 ` Juanma Barranquero
2007-12-22 19:06 ` Eli Zaretskii
2007-12-23 15:32 ` Richard Stallman
2007-12-25 21:01 ` Eli Zaretskii
2007-12-26 5:29 ` Richard Stallman
2007-12-24 22:05 ` martin rudalics
2007-12-25 4:11 ` Eli Zaretskii
2007-12-25 9:23 ` martin rudalics
2007-12-25 20:59 ` Eli Zaretskii
2007-12-25 21:50 ` martin rudalics
2007-12-26 5:28 ` Richard Stallman
2007-12-26 7:00 ` YAMAMOTO Mitsuharu
2007-12-26 8:49 ` martin rudalics
2007-12-26 21:26 ` Richard Stallman
2007-12-26 19:09 ` Bob Rogers
2007-12-24 22:53 ` martin rudalics
2007-12-25 4:07 ` Eli Zaretskii
2007-12-25 9:27 ` martin rudalics
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f7ccd24b0712200509h66b5f2ecp3400c864d60ce292@mail.gmail.com \
--to=lekktu@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=rudalics@gmx.at \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.