emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Linum-mode + org-indent-mode gives strange graphical refresh bugs [7.4 (release_7.4.41.g96c70)]
@ 2011-01-13  6:13 Chris Barber
  2011-01-23 13:51 ` David Maus
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Barber @ 2011-01-13  6:13 UTC (permalink / raw)
  To: emacs-orgmode

Note: run using emacs -q as the bug was reproducible, and this will 
produce less settings that may complicate the report.
Note: only a few months of unix and emacs usage

When using org-indent-mode and linum-mode simultaneously, clicking on 
any line in an org-mode file will cause the cursor and text on the line 
to quickly shift back a few spaces, and the line number for that line to 
disappear, and then after a fraction of a second it will return to normal.

Other issues: without linum-mode enabled, and with org-indent-mode, 
clicking on a line that has a link will cause the underline from the 
link to extend to the left margin temporarily, similar to the bug 
described above - however the text does not shift to the left like the 
previous situation.


Emacs  : GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version 2.22.0)
  of 2011-01-13 on chris-pc
Package: Org-mode version 7.4 (release_7.4.41.g96c70)

current state:
==============
(setq
  org-after-todo-state-change-hook '(org-clock-out-if-current)
  org-export-preprocess-hook '(org-export-blocks-preprocess)
  org-tab-first-hook '(org-hide-block-toggle-maybe)
  org-src-mode-hook '(org-src-mode-configure-edit-buffer)
  org-confirm-shell-link-function 'yes-or-no-p
  org-agenda-before-write-hook '(org-agenda-add-entry-text)
  org-cycle-hook '(org-cycle-hide-archived-subtrees 
org-cycle-hide-drawers org-cycle-show-empty-lines
           org-optimize-window-after-visibility-change)
  org-mode-hook '(#[nil "\300\301\302\303\304$\207"
            [org-add-hook change-major-mode-hook org-show-block-all 
append local] 5]
          )
  org-confirm-elisp-link-function 'yes-or-no-p
  org-occur-hook '(org-first-headline-recenter)
  )
  org-metadown-hook '(org-babel-pop-to-session-maybe)
  org-export-blocks '((src org-babel-exp-src-blocks nil) (comment 
org-export-blocks-format-comment t)
                      (ditaa org-export-blocks-format-ditaa nil) (dot 
org-export-blocks-format-dot nil))
  )

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

* Re: Bug: Linum-mode + org-indent-mode gives strange graphical refresh bugs [7.4 (release_7.4.41.g96c70)]
  2011-01-13  6:13 Bug: Linum-mode + org-indent-mode gives strange graphical refresh bugs [7.4 (release_7.4.41.g96c70)] Chris Barber
@ 2011-01-23 13:51 ` David Maus
  2011-01-28 14:50   ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: David Maus @ 2011-01-23 13:51 UTC (permalink / raw)
  To: Chris Barber; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1123 bytes --]

At Thu, 13 Jan 2011 17:13:48 +1100,
Chris Barber wrote:
>
> Note: run using emacs -q as the bug was reproducible, and this will
> produce less settings that may complicate the report.
> Note: only a few months of unix and emacs usage
>
> When using org-indent-mode and linum-mode simultaneously, clicking on
> any line in an org-mode file will cause the cursor and text on the line
> to quickly shift back a few spaces, and the line number for that line to
> disappear, and then after a fraction of a second it will return to normal.
>
> Other issues: without linum-mode enabled, and with org-indent-mode,
> clicking on a line that has a link will cause the underline from the
> link to extend to the left margin temporarily, similar to the bug
> described above - however the text does not shift to the left like the
> previous situation.

I can reproduce this with

Org-mode version 7.4 (release_7.4.215.g1350)

GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
 of 2010-12-11 on raven, modified by Debian

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Bug: Linum-mode + org-indent-mode gives strange graphical refresh bugs [7.4 (release_7.4.41.g96c70)]
  2011-01-23 13:51 ` David Maus
@ 2011-01-28 14:50   ` Carsten Dominik
  0 siblings, 0 replies; 3+ messages in thread
From: Carsten Dominik @ 2011-01-28 14:50 UTC (permalink / raw)
  To: David Maus; +Cc: Chris Barber, emacs-orgmode


On Jan 23, 2011, at 2:51 PM, David Maus wrote:

> At Thu, 13 Jan 2011 17:13:48 +1100,
> Chris Barber wrote:
>>
>> Note: run using emacs -q as the bug was reproducible, and this will
>> produce less settings that may complicate the report.
>> Note: only a few months of unix and emacs usage
>>
>> When using org-indent-mode and linum-mode simultaneously, clicking on
>> any line in an org-mode file will cause the cursor and text on the  
>> line
>> to quickly shift back a few spaces, and the line number for that  
>> line to
>> disappear, and then after a fraction of a second it will return to  
>> normal.
>>
>> Other issues: without linum-mode enabled, and with org-indent-mode,
>> clicking on a line that has a link will cause the underline from the
>> link to extend to the left margin temporarily, similar to the bug
>> described above - however the text does not shift to the left like  
>> the
>> previous situation.
>
> I can reproduce this with
>
> Org-mode version 7.4 (release_7.4.215.g1350)
>
> GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
> of 2010-12-11 on raven, modified by Debian

Org-mode used line-profix properties to add indentation, and
linum mode uses before-string properties of overlays to add
line numbers.  Both these features add text at display time,
but apparently not in an entirely predictable way.  I have no
idea it it is possible to make both work without any gliches.
If anything, this would be a bug report to Emacs, I think.

The "other issue" is an artefact of Org using an idle time
to update indentation properties.  Here my suggestion
would be to ignore the issue and live with it.

- Carsten


>
> Best,
>  -- David
> --
> OpenPGP... 0x99ADB83B5A4478E6
> Jabber.... dmjena@jabber.org
> Email..... dmaus@ictsoc.de
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

end of thread, other threads:[~2011-01-28 17:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-13  6:13 Bug: Linum-mode + org-indent-mode gives strange graphical refresh bugs [7.4 (release_7.4.41.g96c70)] Chris Barber
2011-01-23 13:51 ` David Maus
2011-01-28 14:50   ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).