* bug#26569: Parindent doesn't work according to description
@ 2017-04-19 7:25 Saideep Bhosle
2017-04-19 23:44 ` npostavs
0 siblings, 1 reply; 2+ messages in thread
From: Saideep Bhosle @ 2017-04-19 7:25 UTC (permalink / raw)
To: 26569
[-- Attachment #1: Type: text/plain, Size: 488 bytes --]
Parindent (paragraph-indent-text-mode) doesn't work as described in help.
After starting a paragraph with spaces and adding a newline (return) after
the first line removes the spaces added at the beginning.
Also, cannot start a new paragraph with tab in Parindent.
M-q mushes all paragraphs not separated by blank lines together.
This happens in Emacs 24.5 and 25.1.1 (On Debian 9 and Windows).
I tried Emacs 22.3 on Windows and it doesn't have this problem.
Thanks,
Saideep
[-- Attachment #2: Type: text/html, Size: 973 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#26569: Parindent doesn't work according to description
2017-04-19 7:25 bug#26569: Parindent doesn't work according to description Saideep Bhosle
@ 2017-04-19 23:44 ` npostavs
0 siblings, 0 replies; 2+ messages in thread
From: npostavs @ 2017-04-19 23:44 UTC (permalink / raw)
To: Saideep Bhosle; +Cc: 26569
Saideep Bhosle <saideep@outlook.com> writes:
> Parindent (paragraph-indent-text-mode) doesn't work as described in help.
> After starting a paragraph with spaces and adding a newline (return) after
> the first line removes the spaces added at the beginning.
Yeah, this can be avoided by turning off electric-indent-mode.
> Also, cannot start a new paragraph with tab in Parindent.
It's because the indent-line-function is set to indent-to-left-margin.
Doing C-q TAB works.
Setting indent-line-function to a smarter function would fix this and
the newline problem.
> M-q mushes all paragraphs not separated by blank lines together.
I'm not able to reproduce this problem though. As long the paragraphs
start with whitespace M-q doesn't combine them, as documented. For
example, with the following buffer contents, pressing M-q doesn't change
the buffer:
xxx xxxxxxxx xxxxx xxxxxx xxxxx xxx xxxxx xxx xxxxxxx xxx xxx xxx
xx xxxx x
xxxx xxx xxxx xx xx xx xxxxxxx xxxx xxxxxxx xxx xxx xxx xx xxxx
xxxxx xx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-04-19 23:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-19 7:25 bug#26569: Parindent doesn't work according to description Saideep Bhosle
2017-04-19 23:44 ` npostavs
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.