Comments (9)
Gah. Hosed by markdown!
from rebox2.
Hi!
Rebox used to leave a space after a trailing period when boxing comments. The current version does not. Maybe you could add that as an option. Just to be clear, currently, we get
# Initializations. #
# ---------------- #
where
# Initializations. #
# ----------------- #
would be nice(r). I find it lets the comments "breathe" a little bit.
Great work otherwise!
from rebox2.
If it did that then it was a bug ;). Can you describe the context? When filling it used to leave a space?
What if you enable the minor-mode? then spaces at the end automatically expand the box due to autofill.
from rebox2.
I should clarify the "used to" bit. This was using François Pinard's version. I have an older .el version, before the move to pymacs. The latest copyright note on it is 2006.
My issue happens without using the minor mode. This:
# Initializations. #
# ---------------- #
formats as this:
# Initializations. #
# ---------------- #
when hitting "Alt-Q".
With the minor mode active, I am able to hit space after the period and get (what I would like):
# Initializations. #
# ----------------- #
Makes sense?
Like I said, I like the extra space after the period. Could you add a flag to enable the "old" behavior?
from rebox2.
I thought your name looked familiar. You're from the rebox header? hehe.
I'll take a look at it.
from rebox2.
Do the latest changes satisfy your request?
from rebox2.
Yeah, I'm at the origin of this whole thing...
I'll have a look at the changes over the weekend. Thanks!
from rebox2.
Oh and also if you need a minimum box size, you can se the rebox-min-fill-column
from rebox2.
Great! Setting rebox-pad-sentence-end
to t
works fine. Had to set sentence-end-double-space
to nil
(two spaces were a bit much). Nice how you used that instead of making up some other sentence end regexp for yourself. I bow to your emacs-lisp talents!
from rebox2.
Related Issues (12)
- auto-fill broken recently HOT 1
- emacs 24.3 issues
- Allow customizing rebox-language-character-alist HOT 4
- `rebox-yank` not working with `(delete-selection-mode t)` HOT 2
- rebox will slow down my typing speed
- rebox hangs in c-mode comment open
- rebox-mode breaks deletion of active region with <DEL>
- rebox-cycle: rebox-cycle caught error: (invalid-function rebox-cache) HOT 2
- Hi, and thanks! :-) HOT 6
- Make a release HOT 2
- Doxygen-style comments HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rebox2.