[Top][All Lists]

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

Re: It would be good to save Window configuration permanently

From: Robert Weiner
Subject: Re: It would be good to save Window configuration permanently
Date: Tue, 28 Jun 2022 01:14:59 -0400

Hi Jean:

Yes, this is on our todo list and something we look forward to adding as soon as time allows.  -- Bob

On Mon, Jun 27, 2022 at 12:52 PM Jean Louis <bugs@gnu.support> wrote:
I use:  Editor:      GNU Emacs 29.0.50 (build 11, x86_64-pc-linux-gnu, X toolkit, cairo version 1.17.6, Xaw3d scroll bars)

        Hyperbole:   8.0.0pre
        Sys Type:    x86_64-pc-linux-gnu
        OS Type:     gnu/linux
        Window Sys:  x
        News Reader: Gnus v5.13
        Install:     elpa-devel, 8.0.0pre0.20220130.32754

I can see on GNU Emacs Help mailing list somebody who wish to save
registers because of Window setup. I was thinking Hyperbole can save
window configuration.

That would be good feature.

I was expecting AddName to work over sessions, but it does not.

On my side I am using these simple functions to save any data to file,
like a hash, I can save it to file and read from file. Maybe this
concept could help that window configuration be saved in Hyperbole as

(defun data-to-file (data file)
  "PRIN1 Emacs Lisp DATA to FILE"
  (string-to-file-force (prin1-to-string data) file))

(defun data-from-file (file)
  "Reads and returns Emacs Lisp data from FILE"
    (file-to-string file))))

(defun string-to-file-force (string file)
  "Prints string into file, matters not if file exists. Returns FILE as file name."
  (with-temp-file file
    (insert string))

Jean Louis

Take action in Free Software Foundation campaigns:

reply via email to

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