unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Christoph Groth <christoph@grothesque.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 26761@debbugs.gnu.org
Subject: bug#26761: 25.1; Emacs freezes when scrolling with mouse wheel
Date: Thu, 04 May 2017 10:56:29 +0200	[thread overview]
Message-ID: <87tw51uhj6.fsf@grothesque.org> (raw)
In-Reply-To: <83inlhhni9.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 03 May 2017 20:13:34 +0300")

I compiled Emacs from current git.  Unfortunately, the only way 
that I know to reproduce the freeze is when viewing a particular 
message with Gnus.  That's why I need to run Emacs with my full 
configuration.

When I start the newly compiled Emacs, it complains about the use 
of "some" in my init.el:
Symbol's function definition is void: some

So I comment-out this bit since it's not relevant.

Then, when I try to launch Gnus, it complains about my ~/.gnus:

gnus-read-init-file: Error in ~/.gnus: (lambda (name &optional 
lists &optional extra-split-methods-before &optional 
extra-split-methods-after &optional extra-vars) (append (list 
(quote nnimap) name (quote (nnimap-stream shell)) (quote 
(nnimap-unsplittable-articles (%Deleted))) (list (quote 
nnimap-shell-program) (format my-nnimap-shell-program name)) (list 
(quote nnimap-split-methods) (append extra-split-methods-before 
(mapcar (function (lambda (name) (list name (format ^list-id: 
.*<%s\. name)))) lists) extra-split-methods-after))) extra-vars))

This is probably related to the following code in my ~/.gnus:

(defun my-nnimap-configure (name
                            &optional lists
                            &optional extra-split-methods-before
                            &optional extra-split-methods-after
                            &optional extra-vars)
  (append
   `(nnimap ,name
            (nnimap-stream shell)
            (nnimap-unsplittable-articles (%Deleted))
            (nnimap-shell-program ,(format my-nnimap-shell-program 
            name))
            (nnimap-split-methods
             ,(append extra-split-methods-before
                      (mapcar
                       (lambda (name)
                         (list name (format "^list-id: .*<%s\\." 
                         name)))
                       lists)
                      extra-split-methods-after)))
   extra-vars))

(setq gnus-secondary-select-methods
      (list (my-nnimap-configure
             "aaa"
             '("list1" "list2"
               "list3" "list4"
               "list5" "list6"
               "list7" "list8")
             '(("something" "^From: .*@something.org")
               ("other-thing" "^Subject: .*other.*thing"))
             my-nnimap-final-split-methods
             '((nnimap-inbox ("INBOX" "Sent"))))
            (my-nnimap-configure
             "bbb"
             '("list9")
             nil
             (append
              '(("mangled-own" my-mangled-own-p))
              my-nnimap-final-split-methods)
             '((nnimap-inbox ("INBOX" "Sent Items"))))
            (my-nnimap-configure "old")))

I wrote the function my-nnimap-configure to simplify the creation 
of the gnus-secondary-select-methods variable.  It works with 
emacs 24 and 25 as found in Debian.  I do not know what's the 
problem with it when used with bleeding-edge Emacs.





  reply	other threads:[~2017-05-04  8:56 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-03 12:02 bug#26761: 25.1; Emacs freezes when scrolling with mouse wheel Christoph Groth
2017-05-03 15:52 ` Eli Zaretskii
2017-05-03 16:33   ` Christoph Groth
2017-05-03 17:13     ` Eli Zaretskii
2017-05-04  8:56       ` Christoph Groth [this message]
2017-05-04 11:48         ` Noam Postavsky
2017-05-04 22:28 ` bug#26761: [Christoph Groth] " npostavs
2017-05-04 22:36   ` npostavs
2017-05-05  6:04   ` bug#26761: [Christoph Groth] " Eli Zaretskii
2017-05-06 17:43     ` Christoph Groth
2017-05-06 17:59       ` npostavs
2017-05-06 19:00       ` bug#26761: [Christoph Groth] " Eli Zaretskii
2017-05-06 22:53         ` Christoph Groth
2017-05-07 17:05           ` Eli Zaretskii
2017-05-05  6:25   ` Glenn Morris

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=87tw51uhj6.fsf@grothesque.org \
    --to=christoph@grothesque.org \
    --cc=26761@debbugs.gnu.org \
    --cc=eliz@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).