Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to the Power Users community on Codidact!

Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.

Comments on How to blockquote region in Emacs

Parent

How to blockquote region in Emacs

+3
−0

Question

Is there a command in emacs for "email quoting" an autofilled paragraph?

Have

Nullam eu ante vel est convallis dignissim. Fusce suscipit, wisi nec
facilisis facilisis, est dui fermentum leo, quis tempor ligula erat quis
odio. Nunc porta vulputate tellus. Nunc rutrum turpis sed pede. Sed
bibendum. Aliquam posuere. Nunc aliquet, augue nec adipiscing interdum,
lacus tellus malesuada massa, quis varius mi purus non odio.
Pellentesque condimentum, magna ut suscipit hendrerit, ipsum augue
ornare nulla, non luctus diam neque sit amet urna. Curabitur vulputate
vestibulum lorem. Fusce sagittis, libero non molestie mollis, magna orci
ultrices dolor, at vulputate neque nulla lacinia eros. Sed id ligula
quis est convallis tempor. Curabitur lacinia pulvinar nibh. Nam a
sapien.

Want

> Nullam eu ante vel est convallis dignissim. Fusce suscipit, wisi nec
> facilisis facilisis, est dui fermentum leo, quis tempor ligula erat quis
> odio. Nunc porta vulputate tellus. Nunc rutrum turpis sed pede. Sed
> bibendum. Aliquam posuere. Nunc aliquet, augue nec adipiscing interdum,
> lacus tellus malesuada massa, quis varius mi purus non odio.
> Pellentesque condimentum, magna ut suscipit hendrerit, ipsum augue
> ornare nulla, non luctus diam neque sit amet urna. Curabitur vulputate
> vestibulum lorem. Fusce sagittis, libero non molestie mollis, magna orci
> ultrices dolor, at vulputate neque nulla lacinia eros. Sed id ligula
> quis est convallis tempor. Curabitur lacinia pulvinar nibh. Nam a
> sapien.

Notes

I am using spacemacs, but I should be able to translate a vanilla emacs answer.

I usually encounter this in markdown-mode and text-mode.

History
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

Post
+3
−0

In markdown-mode, markdown-blockquote-region does the trick!

Bound to SPC m x Q or the shortcut , x Q in spacemacs.

History
Why does this post require moderator attention?
You might want to add some details to your flag.

1 comment thread

TIL (2 comments)
TIL
Monica Cellio‭ wrote almost 2 years ago

Today I learned about markdown mode. Thanks! I've been doing this by defining a keyboard macro ('> ', ctrl-n, ctrl-a), which is more of a hassle.

mcp‭ wrote almost 2 years ago · edited almost 2 years ago

Isn't it great?! I started naming most of my text files with the .md extension as a habit now. This usually comes with the nice benefit of unobtrusive syntax highlighting and features like being able to open links (markdown-do, markdown-follow-thing-at-point, markdown-follow-link-at-point all work for this).