info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange indentation in message-mode


From: Thorsten Jolitz
Subject: Re: Strange indentation in message-mode
Date: Thu, 03 May 2012 16:56:48 +0200
User-agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux)

Bastien <bzg@gnu.org> writes:

Hi Bastien,

> Thorsten Jolitz <tjolitz@googlemail.com> writes:
>
>> The mode line says:
>>
>> ,------------------------------------------------
>> | Message MML AC OrgTbl OrgStruct yas Abbrev Fill
>> `------------------------------------------------
>>
>> and I deactivated OrgTbl and then OrgStruct, but the problem did not go
>>     away. When I deactivate auto-fill-mode, the lines get very long, and
>>     when I press M-q the paragraphs get filled correctly. But with
>>     auto-fill-mode activated, M-q does not undo the strange indentation. 
>>
>> Any idea what could be the problem?
>
> OrgStruct in the mode-line doesn't tell whether this is orgstruct-mode
> or orgstruct++-mode (I need to fix this.)
>
> But my guess is that you use orgstruct++-mode, right?

C-h m gives:

,----------------------------------------------------------------------
| Enabled minor modes: Abbrev Auto-Complete Auto-Composition
| Auto-Compression Auto-Encryption Auto-Fill Delete-Selection
| Diff-Auto-Refine Display-Time File-Name-Shadow Flyspell Font-Lock
| Global-Font-Lock Gnus-Message-Citation Ido-Everywhere Line-Number Mml
| Mouse-Wheel Openwith Orgstruct Orgtbl Rcirc-Track Recentf
| Shell-Dirtrack Show-Paren Tooltip Transient-Mark Yas/Global Yas/Minor
`----------------------------------------------------------------------

and further down:

,--------------------------------------------
| Orgstruct minor mode (indicator OrgStruct):
| Toggle the minor mode `orgstruct-mode'.
`--------------------------------------------

pressing the link:

,--------------------------------------------------------------
| ...
| orgstruct-mode is also a variable.
| 
| orgstruct-mode is a variable defined in `org.el'.
| Its value is nil
| 
|   Automatically becomes buffer-local when set in any fashion.
| 
| Documentation:
| Non-nil if OrgStruct mode is enabled.
| Use the command `orgstruct-mode' to change this variable.
`--------------------------------------------------------------

not quite right, since mode-line says it is enabled. 


checking the functionality, e.g.:

,------------------------------------------------------
| M-q         Fill paragraph and items like in Org-mode
| M-RET       Insert new heading/item
`------------------------------------------------------

=>  (Promote, demote works)
,---------------------------------------------------------------------
| <M-return> runs the command orgtbl-hijacker-command-106, which is an
| interactive Lisp function.
| 
| It is bound to <M-return>.
| 
| (orgtbl-hijacker-command-106 ARG)
`---------------------------------------------------------------------

,----------------------------------------------------------------
| M-q runs the command orgstruct-hijacker-command-22, which is an
| interactive Lisp function.
| 
| It is bound to M-q.
`----------------------------------------------------------------

 > orgstruct++-mode used to *replace* some indent/filling functions of
> major-mode (in this case message-mode) by Org's ones.  Deactivating
> orgstruct++-mode was _not_ restoring the values for those replaced
> variables... which caused confusion.
>
> I recently reworked Org's code to fix this.  
>
> Please double-check you have this commit in your git log:
>
>   http://orgmode.org/w/?p=org-mode.git;a=commit;h=a8c312

apparently not:

,------------------------------------------------------------
| ~/gitclone/org-mode $ git show a8c312                       |
| fatal: ambiguous argument                                   |
| 'a8c312': unknown revision or path not in the working tree. |
`------------------------------------------------------------

after sending this post, I will update and refresh Org-mode and report
      what happened. 


my system data:
,----------------------------------------------------------------------
| "GNU Emacs 24.0.93.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10)
|  of 2012-02-07 on arch
| 7.8.09
| Ma Gnus v0.2"
`----------------------------------------------------------------------

-- 
cheers,
Thorsten




reply via email to

[Prev in Thread] Current Thread [Next in Thread]