File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -240,8 +240,7 @@ optionaly return cursor to CHECKPOINT."
240
240
; ; ii.test.14 (5)*
241
241
(insert-button echo
242
242
'action (lambda (x ) (idec-browse-local-echo (button-get x 'echo )))
243
- 'echo echo
244
- '(face nil ))
243
+ 'echo echo)
245
244
246
245
(beginning-of-line )
247
246
(setq start (point ))
@@ -255,12 +254,12 @@ optionaly return cursor to CHECKPOINT."
255
254
" )" ))
256
255
257
256
(setq unread (get-echo-unread-messages echo))
258
- (when (> unread 0 )
259
- (princ " *" ))
257
+ ; ; (when (> unread 0)
258
+ ; ; (princ "*"))
260
259
(princ " " )
261
260
262
261
; ; [New message] button
263
- (princ " \t [" )
262
+ (princ " [" )
264
263
(insert-button " New message"
265
264
'action (lambda (x ) (idec-new-message (button-get x 'echo )))
266
265
'echo echo)
@@ -271,14 +270,15 @@ optionaly return cursor to CHECKPOINT."
271
270
'echo echo
272
271
'point (point ))
273
272
(princ " ]" )
273
+
274
+ ; ; Unread messages count
274
275
(when (> unread 0 )
275
276
(princ (concat " unread (" (number-to-string unread) " )" )))
276
277
(princ " \n " ))
277
278
(message (concat " IDEC: FUUUUUU <" echo " >" )))))
278
279
(when checkpoint
279
280
(goto-char checkpoint)))
280
- (idec-mode)
281
- (add-text-properties (beginning-of-buffer ) (end-of-buffer ) 'read-only ))
281
+ (idec-mode))
282
282
283
283
(defun idec-browse-local-echo (&optional echo )
284
284
" Get messages from local ECHO."
@@ -306,8 +306,7 @@ optionaly return cursor to CHECKPOINT."
306
306
307
307
(princ (make-string (- longest subj-length) ? ))
308
308
(princ (concat " " (gethash " time" msg)))
309
- (princ (concat " \t " (gethash " author" msg) " \n " )))
310
- (add-text-properties (beginning-of-buffer ) (end-of-buffer ) 'read-only )))
309
+ (princ (concat " \t " (gethash " author" msg) " \n " )))))
311
310
(idec))
312
311
313
312
You can’t perform that action at this time.
0 commit comments