emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: org-element-at-point fails in programming-modes
Date: Thu, 21 Aug 2014 22:49:08 +0200	[thread overview]
Message-ID: <87zjextvp7.fsf@gmx.us> (raw)
In-Reply-To: 87oavdvawc.fsf@gmail.com

Thorsten Jolitz <tjolitz@gmail.com> writes:

> Rasmus <rasmus@gmx.us> writes:
>
> Hi Rasmus,
>
>> Thorsten Jolitz <tjolitz@gmail.com> writes:
>>
>>> As a side-remark, I did send these blocks with emptly lines between them,
>>> and when I look at my post in gmane the format looks alright, however
>>> when I open it in gnus the empty lines are gone and it looks like this:
>>
>> Do you by any chance have `gnus-article-strip-all-blank-lines' (W E A
>> from summary) in your `gnus-article-mode-hook' or, more dangerously,
>> in your `nnmail-prepare-incoming-hook'?
>
> No:
>
> ,----[ C-h v gnus-article-mode-hook RET ]
> | gnus-article-mode-hook is a variable defined in `gnus-art.el'.
> | Its value is nil
> `----
>
> ,----[ C-h v nnmail-prepare-incoming-hook RET ]
> | nnmail-prepare-incoming-hook is a variable defined in `nnmail.el'.
> | Its value is nil
> `----
>
> and not all blank lines are stripped, only those between consecutive
> src-blocks. 

I tried all washing methods, and the one I mentioned was the only way
I could get it to remove lines between SRC blocks. . .

>> I have had terrible things happen when I applied "washing"
>> automatically.
>
> Gnus is a complex beast and I want to just *use* (not debug/fix/hack...)
> it, so I don't do any fancy things, I just press 'g' quite often. 

"Hacking" gnus is much fun!  My init file suggest that I have around
1000 lines in my email section.

> It worked flawlessly for a long time, but now I have some minor issues
> (HTML washing does not work anymore, empty lines between src-blocks are
> eaten), and since yesterday even a major issue: access to my gmail
> accounts via gnus denied -> cannot open server (while it works via the
> web UI) ;-(

I use offlineimap for this, and have not experienced any problems.  I
use a custom password for offlineimap (via OAUTH or something like
that).

On HTML-washing: maybe it switch from whatever to shr (eww-backend)
for rendering?

—Rasmus

-- 
To err is human. To screw up 10⁶ times per second, you need a computer

  reply	other threads:[~2014-08-21 20:49 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-20 12:00 org-element-at-point fails in programming-modes Thorsten Jolitz
2014-08-20 12:12 ` Thorsten Jolitz
2014-08-20 12:17   ` Nick Dokos
2014-08-20 12:39     ` Sebastien Vauban
2014-08-20 14:28       ` Nick Dokos
2014-08-22  4:02         ` Nick Dokos
2014-08-22  5:22           ` Nicolas Richard
2014-08-22 13:23             ` Nick Dokos
2014-08-22 10:28           ` Thorsten Jolitz
2014-08-22 13:46             ` Nick Dokos
2014-08-22 13:53             ` Nicolas Richard
2014-08-22 14:20               ` Nicolas Richard
2014-08-22 14:26               ` Article Mode eats newlines between src-blocks (was Re: org-element-at-point fails in programming-modes) Thorsten Jolitz
2014-08-22 14:46               ` org-element-at-point fails in programming-modes Nick Dokos
2014-08-22 17:07           ` Rasmus
2014-08-20 12:41   ` Nicolas Richard
2014-08-21 20:03   ` Rasmus
2014-08-21 20:13     ` Rasmus
2014-08-21 20:35     ` Thorsten Jolitz
2014-08-21 20:49       ` Rasmus [this message]
2014-08-20 12:40 ` Nicolas Richard
2014-08-20 13:52   ` Thorsten Jolitz
2014-08-21  8:58     ` Nicolas Goaziou
2014-08-21 11:22       ` Thorsten Jolitz
2014-08-22 13:47       ` Bastien
2014-09-23 10:29       ` Thorsten Jolitz
2014-09-23 21:27         ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zjextvp7.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).