Thien-Thi Nguyen | 7 Jul 2011 10:05
Favicon

git-show-branch.el

Greetings earthlings,

Do you use Git?  Are you a branch lover?
You know it!  You show it!

The primary value of this code IMHO is NOT the output, but rather the
keymap, upon which you can hang all sorts of ref-based commands, kind of
like a tree trunk of enquiry and reflection.  But that's no surprise for
branch lovers.  For example, here is the func that ‘more-vc-git-show’
and ‘more-vc-git-rebase’ (both not yet published) use:

(defun more-vc-ref-at-point ()
  "Return the reference at point as a string.
This is essentially the `symbol-at-point' under Emacs Lisp syntax."
  (with-syntax-table emacs-lisp-mode-syntax-table
    (substring-no-properties (thing-at-point 'symbol))))

The reason ‘more-vc-ref-at-point’ is not and most likely will never be
part of git-show-branch.el is to keep the latter simple.

thi

___________________________________________________
;;; git-show-branch.el
;;;
;;; Copyright (C) 2011 Thien-Thi Nguyen
;;;
;;; This file is part of ttn's personal elisp library, released under
;;; the terms of the GNU General Public License as published by the
;;; Free Software Foundation; either version 3, or (at your option) any
(Continue reading)

Thierry Volpiatto | 11 Jul 2011 07:27
Picon
Gravatar

Re: eldoc support with M-:

Thierry Volpiatto <thierry.volpiatto <at> gmail.com> writes:

> rubikitch <at> ruby-lang.org writes:
>
>> From: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
>> Subject: eldoc support with M-:
>> Date: Thu, 19 May 2011 10:49:03 +0200
>>
>> hi, 
>>
>>> Just (require 'eldoc-extensions) and try it in M-:.
>>
>> Its filename is confusing.
>> eldoc-extension.el (singular) exists in EmacsWiki by AndyStewart.
> Ah! ok, didn't know this one.
> Find attached renamed file to eldoc-eval.el.

Here the last version of eldoc-eval.el.
It provide a new macro `with-eldoc-in-minibuffer' that allow to enable
eldoc support in any minibuffer code:

(with-eldoc-in-minibuffer (read-string "test eldoc: " "(let")))

It also follow arguments while you are writing, just like normal eldoc.
To see this, you need to set a visible face, the default one of eldoc is
most of the time invisible, do like this or use customize:

(when (require 'eldoc)
  (set-face-attribute 'eldoc-highlight-function-argument nil :underline "red"))

(Continue reading)

Michael Albinus | 30 Jul 2011 17:14
Picon
Picon
Gravatar

Tramp 2.2.2

Hello,

The Tramp team is happy to announce the release of Tramp 2.2.2.

Tramp is a remote file editing package for Emacs and XEmacs.  Tramp uses
different methods like ssh or scp to access files on remote hosts as if
they were local files.  Access to the remote file system for editing
files, version control, directory editing and running processes on the
remote host are transparently enabled.

Tramp 2.2.2 supports Emacs since version 22 and XEmacs since version
21.4.  Starting with this release, Tramp 2.2 is the main line of Tramp
development.  It can be used also in production systems.  Tramp 2.1 will
be modified only in case of serious problems.

This release is merged into the Emacs 24 repository.  The XEmacs package
repository is not updated, we would be happy if an XEmacs developer
could take over this task.

The download files are located at ftp://ftp.gnu.org/gnu/tramp/

Tramp's homepage is http://www.gnu.org/software/tramp/ (for Emacs) or
http://www.gnu.org/software/tramp/tramp-xemacs.html (for XEmacs),
respectively.

Best regards, Michael.

Gmane