From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Thien-Thi Nguyen <ttn@gnuvola.org>
Cc: emacs-devel@gnu.org
Subject: Re: [patch] vc-annotate-toggle-annotation-visibility, almost
Date: Sat, 03 Nov 2007 23:13:29 -0400 [thread overview]
Message-ID: <jwvfxzm674r.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87zlxu4x3o.fsf@ambire.localdomain> (Thien-Thi Nguyen's message of "Sun, 04 Nov 2007 02:29:15 +0100")
> "almost" because i don't see any change w/ `redisplay'
> in `vc-annotate-toggle-annotation-visibility'; use of
> `force-mode-line-update' is suboptimal. still investigating.
Use of force-mode-line-update doesn't seem particularly bad to me
(assuming it works).
> You can use the mode-specific menu to alter the time-span of the used
> colors. See variable `vc-annotate-menu-elements' for customizing the
> menu items."
> + (setq buffer-invisibility-spec nil)
> (set (make-local-variable 'truncate-lines) t)
> (set (make-local-variable 'font-lock-defaults)
> '(vc-annotate-font-lock-keywords t))
> (view-mode 1))
Why?
> + (when (get-text-property (point) 'invisible)
> + (goto-char (next-single-property-change (point) 'invisible)))
What is this for?
We could additionally put commands to print the (invisible) annotation
in the echo-area, and also add a `help-echo' property to the whole
buffer so as to get tooltips that display the (invisible) annotation.
Stefan
next prev parent reply other threads:[~2007-11-04 3:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-04 1:29 [patch] vc-annotate-toggle-annotation-visibility, almost Thien-Thi Nguyen
2007-11-04 3:13 ` Stefan Monnier [this message]
2007-11-04 9:43 ` Thien-Thi Nguyen
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=jwvfxzm674r.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=ttn@gnuvola.org \
/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.