emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* problem with auto-fill-mode in gnus with org
@ 2014-11-11  7:50 Eric S Fraga
  2014-11-13 20:07 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Eric S Fraga @ 2014-11-11  7:50 UTC (permalink / raw)
  To: emacs-orgmode

Hello all,

I have recently started using pabbrev again.  However, I found that
using orgstruct mode within Message buffers (in gnus) caused pabbrev to
not work properly.  Not sure why (something to pursue later).

So I decided to not enable orgstruct mode.  However, by doing so, I get
the following error whenever I try to type in a line longer than my
auto-fill-column:

,----
| Debugger entered--Lisp error: (void-variable orgtbl-line-start-regexp)
|   org-adaptive-fill-function()
|   org-auto-fill-function()
|   self-insert-command(1)
|   funcall-interactively(self-insert-command 1)
|   call-interactively(self-insert-command nil nil)
|   command-execute(self-insert-command)
`----

I have

  (setq auto-fill-function 'org-auto-fill-function)

in my message-mode-hook so I do expect org to be involved in my message
composition.  Am I responsible for initialisation of org in this
context?  What am I missing?

Thanks,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-558-g83d8a2

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

* Re: problem with auto-fill-mode in gnus with org
  2014-11-11  7:50 problem with auto-fill-mode in gnus with org Eric S Fraga
@ 2014-11-13 20:07 ` Nicolas Goaziou
  2014-11-14 10:10   ` Eric S Fraga
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2014-11-13 20:07 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> So I decided to not enable orgstruct mode.  However, by doing so, I get
> the following error whenever I try to type in a line longer than my
> auto-fill-column:
>
> ,----
> | Debugger entered--Lisp error: (void-variable orgtbl-line-start-regexp)
> |   org-adaptive-fill-function()
> |   org-auto-fill-function()
> |   self-insert-command(1)
> |   funcall-interactively(self-insert-command 1)
> |   call-interactively(self-insert-command nil nil)
> |   command-execute(self-insert-command)
> `----
>
> I have
>
>   (setq auto-fill-function 'org-auto-fill-function)
>
> in my message-mode-hook so I do expect org to be involved in my message
> composition.  Am I responsible for initialisation of org in this
> context?  What am I missing?

Odd. I'm not able to reproduce it.

However, using `org-auto-fill-function' without Org major mode may be
asking for trouble (variables not initialized...).


Regards,

-- 
Nicolas Goaziou

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

* Re: problem with auto-fill-mode in gnus with org
  2014-11-13 20:07 ` Nicolas Goaziou
@ 2014-11-14 10:10   ` Eric S Fraga
  0 siblings, 0 replies; 3+ messages in thread
From: Eric S Fraga @ 2014-11-14 10:10 UTC (permalink / raw)
  To: emacs-orgmode

On Thursday, 13 Nov 2014 at 21:07, Nicolas Goaziou wrote:

[...]

> Odd. I'm not able to reproduce it.

Not surprising given the amount of customisation I have.  Thanks for
checking!

> However, using `org-auto-fill-function' without Org major mode may be
> asking for trouble (variables not initialized...).

Indeed.  I have come to same realisation and have turned this off.  It's
a pity as I found the org filling better than the default, especially
for lists.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-558-g83d8a2

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

end of thread, other threads:[~2014-11-14 10:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-11  7:50 problem with auto-fill-mode in gnus with org Eric S Fraga
2014-11-13 20:07 ` Nicolas Goaziou
2014-11-14 10:10   ` Eric S Fraga

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