emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* plain list spacing changed after moving to org 7.7/ELPA
@ 2011-12-07 16:03 vincent douzal
  2011-12-07 20:20 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: vincent douzal @ 2011-12-07 16:03 UTC (permalink / raw)
  To: emacs-orgmode

Hello, 

I am experiencing a change in behaviour regarding plain lists
spacing, 

spontaneous behaviour (empty file) is
- this
- this
instead of
- that

- that

(and many other probably related effects, like that TAB inside
a list item does nothing at all in most cases, or need of
being more than two empty lines after the end of a list item for
M-RET to insert a headline),

since some time ago I switched from

Org-mode version 6.33f, installed over 
GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11
on raven, modified by Debian

to

Org-mode version 7.7
on the same unchanged system,
installed through ELPA from http://orgmode.org/pkg/daily/,
tarball org-20111107.tar, then org-20111206.tar, following 
the FAQ step by step.

(Incidentally, *there is something wrong with org-20111207.tar*,
it has been truncated.  It took me some time to figure out from the
code that M-x package-install-file "Can't read whole string" was
meant also for filenames *inside* the tar.)

All the compile process went well (I just recompiled
org-20111206.tar to include parts of the log, the previous time I
had apparently innocuous errors, now only warnings are left).

As expected, M-x  locate-library org
Library is file ~/.emacs.d/elpa/org-20111206/org.elc


I know *the culprit is org-blank-before-new-entry,* which yields,
with the minimal .emacs included:

org-blank-before-new-entry ---> nil

whereas with emacs -q (by what I return to Org version 6.33f) it
is the default:

org-blank-before-new-entry ---> ((heading . auto) (plain-list-item .
auto))

I could try to force that variable, but something must be going
wrong somewhere in the installation, and I cannot figure out how
to correct it the proper way.

Has anyone an idea how to pin down where the real problem is?

vincent



;------8<--------------------------
; Minimal .emacs [2011-12-07 13:59]
(blink-cursor-mode -1)
(tool-bar-mode 0)

(if (fboundp 'scroll-bar-mode) (scroll-bar-mode -1))
(setq x-select-enable-clipboard t)

(when
    (load
     (expand-file-name "~/.emacs.d/elpa/package.el"))
  (package-initialize))

(add-hook 'org-mode-hook 'turn-on-font-lock)
    (add-hook 'org-mode-hook 'turn-on-auto-fill)

; Where I have various contrib org files, among others.
(setq load-path (cons "/usr/local/share/emacs/contrib/lisp" load-path))
; End .emacs



*Compile-log* extract
------8<---------------------------
ob-ref.el:69:1:Warning: defcustom for `org-babel-update-intermediate'
fails to specify containing group
In org-agenda-list:
org-agenda.el:3557:26:Warning: `org-agenda-ndays' is an obsolete
variable (as of Emacs 24.1); use `org-agenda-span' instead.

In org-agenda-goto-today:
org-agenda.el:6419:59:Warning: `org-agenda-ndays' is an obsolete
variable (as of Emacs 24.1); use `org-agenda-span' instead.

In org-agenda-reset-view:
org-agenda.el:6504:36:Warning: `org-agenda-ndays' is an obsolete
variable (as of Emacs 24.1); use `org-agenda-span' instead.

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

* Re: plain list spacing changed after moving to org 7.7/ELPA
  2011-12-07 16:03 plain list spacing changed after moving to org 7.7/ELPA vincent douzal
@ 2011-12-07 20:20 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2011-12-07 20:20 UTC (permalink / raw)
  To: vincent douzal; +Cc: emacs-orgmode

Hello,

vincent douzal <vincent.douzal@teledetection.fr> writes:

> I am experiencing a change in behaviour regarding plain lists
> spacing, 

Indeed. Plain lists internals have been rewritten since 6.33c.

If default spacing (that is automatic) disturbs you, you may, as you
suggested, tweak `org-blank-before-new-entry'.


Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2011-12-07 20:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-07 16:03 plain list spacing changed after moving to org 7.7/ELPA vincent douzal
2011-12-07 20:20 ` Nicolas Goaziou

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).