Gnus development mailing list
 help / color / mirror / Atom feed
* function definition is void: gnus-remove-overlays
@ 2016-02-26  3:52 Harry Putnam
  2016-02-26  5:39 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Harry Putnam @ 2016-02-26  3:52 UTC (permalink / raw)
  To: ding

Since updating from whatever version was on about 1.5 mnths ago to
most recent git repo sources I'm hitting an error with certain
messages.

Any thread with more than 1 message seems to spark off the error below
and prevents the thread opening.

(backtrace)

Debugger entered--Lisp error: (void-function gnus-remove-overlays)
  (gnus-remove-overlays beg eoi (quote invisible) (quote gnus-sum))
  (progn (gnus-remove-overlays beg eoi (quote invisible) (quote gnus-sum)) (goto-char orig) (gnus-summary-position-point) eoi)
  (if eoi (progn (gnus-remove-overlays beg eoi (quote invisible) (quote gnus-sum)) (goto-char orig) (gnus-summary-position-point) eoi))
  (let* ((orig (point)) (end (point-at-eol)) (end (or (gnus-summary--inv end) (gnus-summary--inv (1- end)))) (beg (progn (beginning-of-line) (if (bobp) (point) (1- (point))))) (eoi (if end (progn (if (fboundp (quote next-single-char-property-change)) (or (next-single-char-property-change end ...) (point-max)) (while (progn ... ...)) (point)))))) (if eoi (progn (gnus-remove-overlays beg eoi (quote invisible) (quote gnus-sum)) (goto-char orig) (gnus-summary-position-point) eoi)))
  gnus-summary-show-thread()
  gnus-summary-scroll-up(1)
  funcall-interactively(gnus-summary-scroll-up 1)
  call-interactively(gnus-summary-scroll-up nil nil)
  command-execute(gnus-summary-scroll-up)





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: function definition is void: gnus-remove-overlays
  2016-02-26  3:52 function definition is void: gnus-remove-overlays Harry Putnam
@ 2016-02-26  5:39 ` Lars Ingebrigtsen
  2016-02-26 15:52   ` Harry Putnam
  0 siblings, 1 reply; 5+ messages in thread
From: Lars Ingebrigtsen @ 2016-02-26  5:39 UTC (permalink / raw)
  To: Harry Putnam; +Cc: ding

Harry Putnam <reader@newsguy.com> writes:

> Since updating from whatever version was on about 1.5 mnths ago to
> most recent git repo sources I'm hitting an error with certain
> messages.
>
> Any thread with more than 1 message seems to spark off the error below
> and prevents the thread opening.
>
> (backtrace)
>
> Debugger entered--Lisp error: (void-function gnus-remove-overlays)
>   (gnus-remove-overlays beg eoi (quote invisible) (quote gnus-sum))

The string "gnus-remove-overlays" does not exist in the Gnus sources
(any more).  Are you loading bits of older Gnus versions?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: function definition is void: gnus-remove-overlays
  2016-02-26  5:39 ` Lars Ingebrigtsen
@ 2016-02-26 15:52   ` Harry Putnam
  2016-02-27  3:52     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Harry Putnam @ 2016-02-26 15:52 UTC (permalink / raw)
  To: ding

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Harry Putnam <reader@newsguy.com> writes:
>
>> Since updating from whatever version was on about 1.5 mnths ago to
>> most recent git repo sources I'm hitting an error with certain
>> messages.
>>
>> Any thread with more than 1 message seems to spark off the error below
>> and prevents the thread opening.
>>
>> (backtrace)
>>
>> Debugger entered--Lisp error: (void-function gnus-remove-overlays)
>>   (gnus-remove-overlays beg eoi (quote invisible) (quote gnus-sum))
>
> The string "gnus-remove-overlays" does not exist in the Gnus sources
> (any more).  Are you loading bits of older Gnus versions?

The defun below causes no problems with whatever version of ma-gnus I
was on before updating (probably 6mnths or so old) .

But causes gnus to be unable to open thread with more than one massage
in latest version (yesterdays git pull)

Commenting the defun out seems to solve the problem.

(I vaguely remember adding this a good while back when a problem with
where the cursor landed in certain situations cropped up) NOTE the line
below bracketted with asterisks:

 (defun gnus-summary-show-thread ()
   "Show thread subtrees.
 Returns nil if no thread was there to be shown."
   (interactive)
   (let* ((orig (point))                                    ;; **
    (end (point-at-eol))
          (end (or (gnus-summary--inv end)                  ;; **
                   (gnus-summary--inv (1- end))))           ;; **
    ;; Leave point at bol
    (beg (progn (beginning-of-line) (if (bobp) (point) (1- (point)))))
    (eoi (when end                                    ;; **
      (if (fboundp 'next-single-char-property-change)
          (or (next-single-char-property-change end 'invisible)
         (point-max))
        (while (progn
            (end-of-line 2)
            (and (not (eobp))
            (eq (get-char-property (point) 'invisible)
                'gnus-sum))))
        (point)))))
     (when eoi
     
       ;;************************************************
       (gnus-remove-overlays beg eoi 'invisible 'gnus-sum)
       ;;************************************************
       
       (goto-char orig)
       (gnus-summary-position-point)
       eoi)))
;;;;;  END Cursor on dormant problem





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: function definition is void: gnus-remove-overlays
  2016-02-26 15:52   ` Harry Putnam
@ 2016-02-27  3:52     ` Lars Ingebrigtsen
  2016-02-27 20:33       ` Harry Putnam
  0 siblings, 1 reply; 5+ messages in thread
From: Lars Ingebrigtsen @ 2016-02-27  3:52 UTC (permalink / raw)
  To: Harry Putnam; +Cc: ding

Harry Putnam <reader@newsguy.com> writes:

> The defun below causes no problems with whatever version of ma-gnus I
> was on before updating (probably 6mnths or so old) .
>
> But causes gnus to be unable to open thread with more than one massage
> in latest version (yesterdays git pull)
>
> Commenting the defun out seems to solve the problem.

Just use `remove-overlays' instead of `gnus-remove-overlays'.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: function definition is void: gnus-remove-overlays
  2016-02-27  3:52     ` Lars Ingebrigtsen
@ 2016-02-27 20:33       ` Harry Putnam
  0 siblings, 0 replies; 5+ messages in thread
From: Harry Putnam @ 2016-02-27 20:33 UTC (permalink / raw)
  To: ding

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Harry Putnam <reader@newsguy.com> writes:
>
>> The defun below causes no problems with whatever version of ma-gnus I
>> was on before updating (probably 6mnths or so old) .
>>
>> But causes gnus to be unable to open thread with more than one massage
>> in latest version (yesterdays git pull)
>>
>> Commenting the defun out seems to solve the problem.
>
> Just use `remove-overlays' instead of `gnus-remove-overlays'.

Yup... works fine... thank you sir.




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-02-27 20:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-26  3:52 function definition is void: gnus-remove-overlays Harry Putnam
2016-02-26  5:39 ` Lars Ingebrigtsen
2016-02-26 15:52   ` Harry Putnam
2016-02-27  3:52     ` Lars Ingebrigtsen
2016-02-27 20:33       ` Harry Putnam

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 NNTP newsgroup(s).