Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prompts about hard newlines between paragraphs every time #6

Open
aspiers opened this issue Oct 5, 2017 · 3 comments · May be fixed by #12
Open

prompts about hard newlines between paragraphs every time #6

aspiers opened this issue Oct 5, 2017 · 3 comments · May be fixed by #12

Comments

@aspiers
Copy link
Contributor

aspiers commented Oct 5, 2017

If I follow the setup suggested in README.org:

(add-hook 'message-mode-hook 'messages-are-flowing-use-and-mark-hard-newlines)

then every time I enter message-mode, it asks:

Make newlines between paragraphs hard? (y or n)

This is pretty annoying. It happens because messages-are-flowing-use-and-mark-hard-newlines calls (use-hard-newlines) with no arguments, but the optional second argument to use-hard-newlines is the one which determines whether the function will use a certain behaviour or interactively ask the user for their preference.

@innerout
Copy link

Could you fix the problem @aspiers reports here? It would be better if you could set a variable in the configuration file and get rid of this, instead of being prompted for every email you have to compose. @legoscia

@chrisalcantara
Copy link

chrisalcantara commented Mar 29, 2020

Any updates on this? Needing to answer a prompt every time is persuading me to drop this package in the future.

@titanofold
Copy link

(use-hard-newlines)

It would be nice to be able to skip asking and just jump right into the message.

Reviewing the the documentation for use-hard-newlines, it seems we would want the call to be (use-hard-newlines 1 'guess).

Or, maybe introduce a custom variable, such as messages-are-flowing-insert, to give us:

 (use-hard-newlines 1 messages-are-flowing-insert)

abstern added a commit to abstern/messages-are-flowing that referenced this issue Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants