all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alp Aker <alptekin.aker@gmail.com>
To: Jon Dufresne <jon.dufresne@gmail.com>
Cc: 17365@debbugs.gnu.org
Subject: bug#17365: 24.3; Visiting tags table in combination with fill column indicator causes Emacs to hang
Date: Tue, 29 Apr 2014 15:10:17 -0400	[thread overview]
Message-ID: <CACxch4rDf-D8je-Sk=7dOi5m8jzFdf6r4oxuP3-8bko8LwShUw@mail.gmail.com> (raw)
In-Reply-To: <CADhq2b6ciiHFs2iaunvoujv0a2u+iyPX-o40GB3Mk2yF7DiMZw@mail.gmail.com>

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

> Debugger entered--Lisp error: (quit)
>
>      fci-put-overlays-region(2807 7574591)
>      fci-redraw-region(2807 7574565 0)
>      insert-file-contents("/home/jon/devel/erezlife/development/TAGS" t
nil nil t)
>
revert-buffer-insert-file-contents--default-function("/home/jon/devel/erezlife/development/TAGS"
>    nil)
>      revert-buffer--default(t t)
>      revert-buffer(t t)

I'm the author of the package in question.  This is, I think, a use case I
hadn't considered.

Jon, could you replace the definition of fci-redraw-region with the
following and try your recipe again?

(defun fci-redraw-region (start end _ignored)
  (when (fci-get-buffer-windows t)
    (save-match-data
      (save-excursion
        (let ((inhibit-point-motion-hooks t))
          (goto-char end)
          (setq end (line-beginning-position 2))
          (fci-delete-overlays-region start end)
          (fci-put-overlays-region start end))))))

[-- Attachment #2: Type: text/html, Size: 1205 bytes --]

  reply	other threads:[~2014-04-29 19:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-28 20:55 bug#17365: 24.3; Visiting tags table in combination with fill column indicator causes Emacs to hang Jon Dufresne
2014-04-29 14:09 ` Glenn Morris
2014-04-29 16:27   ` Jon Dufresne
2014-04-29 16:29 ` Glenn Morris
2014-04-29 16:48   ` Jon Dufresne
2014-04-29 18:10     ` Stefan Monnier
2014-04-29 18:31       ` Jon Dufresne
2014-04-29 19:10         ` Alp Aker [this message]
2014-04-29 19:16           ` Jon Dufresne
2014-04-29 20:38             ` Alp Aker

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='CACxch4rDf-D8je-Sk=7dOi5m8jzFdf6r4oxuP3-8bko8LwShUw@mail.gmail.com' \
    --to=alptekin.aker@gmail.com \
    --cc=17365@debbugs.gnu.org \
    --cc=jon.dufresne@gmail.com \
    /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.