emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals-release/activities 8e004b83f1 058/103: Change: (activit


From: ELPA Syncer
Subject: [elpa] externals-release/activities 8e004b83f1 058/103: Change: (activities--name-buffer) Error for missing buffers
Date: Tue, 30 Jan 2024 03:57:51 -0500 (EST)

branch: externals-release/activities
commit 8e004b83f1dbcca0f79bbaa32902c2f3dd27b660
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>

    Change: (activities--name-buffer) Error for missing buffers
---
 activities.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/activities.el b/activities.el
index 9a8d2e5192..5705d3fb03 100644
--- a/activities.el
+++ b/activities.el
@@ -614,9 +614,10 @@ activity's name is NAME."
   (pcase-let (((cl-struct activities-buffer name) activities-buffer))
     (or (get-buffer name)
         (with-current-buffer (get-buffer-create (concat "*Activities (error): 
" name "*"))
-          (insert "Activities was unable to get a buffer named: " name "\n"
-                  "activities-buffer: " (format "%S" activities-buffer) "\n"
-                  "Please report this error to the developer\n\n")
+          (insert "Activities was unable to get a buffer named: " name "\n\n"
+                  "It is likely that this buffer's major mode does not support 
the `bookmark' system, so it can't be restored properly.  Please ask the major 
mode's maintainer to add bookmark support.\n\n"
+                  "If this is not the case, please report this error to the 
`activities' maintainer.\n\n"
+                  "In the meantime, it's recommended to not use buffers of 
this major mode in an activity's layout; or you may simply ignore this error 
and use the other buffers in the activity.")
           (current-buffer)))))
 
 (cl-defun activities-completing-read



reply via email to

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