messages-are-flowing icon indicating copy to clipboard operation
messages-are-flowing copied to clipboard

prompts about hard newlines between paragraphs every time

Open aspiers opened this issue 7 years ago • 3 comments

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.

aspiers avatar Oct 05 '17 11:10 aspiers

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

innerout avatar Dec 13 '19 19:12 innerout

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

chrisalcantara avatar Mar 29 '20 18:03 chrisalcantara

https://github.com/legoscia/messages-are-flowing/blob/d582a564a63b7b90764ffc5c618bc5300225d0ab/messages-are-flowing.el#L60

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)

titanofold avatar Nov 12 '20 18:11 titanofold