unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eduard Wiebe <usenet@pusto.de>
To: 9409@debbugs.gnu.org
Subject: bug#9409: 24.0.50; log-view-msg-prev, easy-mmode
Date: Tue, 30 Aug 2011 21:31:59 +0200	[thread overview]
Message-ID: <87aaaqpufk.fsf@pusto.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 178 bytes --]


 Hi all,

it bothers me that in some situation i cannot reach the head information
of the `vc-print-log' via `log-view-msg-prev'.

I fixed the issue by following simple patch.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: easy-mmode.el.patch --]
[-- Type: text/x-diff, Size: 530 bytes --]

=== modified file 'lisp/emacs-lisp/easy-mmode.el'
--- lisp/emacs-lisp/easy-mmode.el	2011-01-25 04:08:28 +0000
+++ lisp/emacs-lisp/easy-mmode.el	2011-08-27 16:50:49 +0000
@@ -578,7 +578,8 @@
 	 (if (< count 0) (,next-sym (- count))
            ,(funcall when-narrowed
              `(unless (re-search-backward ,re nil t count)
-                (error "No previous %s" ,name)))
+                (goto-char (point-min))
+		(error "No previous %s" ,name)))
            ,@body))
        (put ',prev-sym 'definition-name ',base))))
 


             reply	other threads:[~2011-08-30 19:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-30 19:31 Eduard Wiebe [this message]
2011-09-03  0:37 ` bug#9409: 24.0.50; log-view-msg-prev, easy-mmode Glenn Morris
2011-09-03 17:41   ` Eduard Wiebe
2011-09-07  0:40     ` Glenn Morris
2011-09-07 12:39       ` Stefan Monnier
2011-09-13 19:38         ` Eduard Wiebe
2011-09-13 21:02           ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87aaaqpufk.fsf@pusto.de \
    --to=usenet@pusto.de \
    --cc=9409@debbugs.gnu.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).