[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
canonical verbose?
From: |
Andreas Röhler |
Subject: |
canonical verbose? |
Date: |
Sat, 21 Sep 2013 09:46:39 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 |
Hi,
writing quite often commands which should give some reports when being
successful, like that:
(defun ar-up-list ()
"Returns position reached when successful, nil otherwise"
(interactive)
(let ((orig (point))
(pps (syntax-ppss))
erg)
(and (nth 8 pps) (goto-char (nth 8 pps)))
(ignore-errors (up-list))
(and (< orig (point))(setq erg (point)))
(when (interactive-p) (message "%s" erg))
erg))
However, binding the message at interactive-usage alone seems not optimal.
Does Emacs provide some variable setting verbosity?
TIA,
Andreas
- canonical verbose?,
Andreas Röhler <=