Comments (12)
Original comment by York Zhao (Bitbucket: york, GitHub: york):
9f7dbc finally fixed the issue, working beautifully now. Good job Vegard.
Thanks a lot
from evil.
Original comment by Vegard Øye (Bitbucket: epsil, GitHub: epsil):
If this second bug is in any way related to the first (which was addressed by commit 8dd67aa
), then commit 9f7dbc2
//might// fix it. But as I said, I'm not exactly sure what we're dealing with here.
from evil.
Original comment by Vegard Øye (Bitbucket: epsil, GitHub: epsil):
I upgraded to version 7.8.03. Still nothing.
I don't even understand what kind of bug this is supposed to be. The only way I can get something similar is if I insert newlines in between. That is,
** foo
** bar
** something else
instead of
** foo
** bar
** something else
Then, if I select foo
+ newline + bar
, I get bar
+ foo
+ newline after sorting (the "newline layout" is not retained). If I select foo
+ newline + bar
+ newline, then I get bar
+ newline + foo
+ newline after sorting (the "newline layout" //is// retained).
from evil.
Original comment by York Zhao (Bitbucket: york, GitHub: york):
I'm using the latest org-version from git, v7.8.03, but the problem has been there for awhile, back to the time while using v7.7.
from evil.
Original comment by Vegard Øye (Bitbucket: epsil, GitHub: epsil):
I'm still not able to reproduce this. What is your version of Org-mode (M-x org-version
)? Mine is 7.6, installed with sudo apt-get install org-mode
.
from evil.
Original comment by York Zhao (Bitbucket: york, GitHub: york):
Should be "Vj" to select only the first two lines not "Vjj".
from evil.
Original comment by Vegard Øye (Bitbucket: epsil, GitHub: epsil):
I'm still unable to reproduce it. Here are my steps:
-
Start a fresh Evil instance with
make emacs
. -
Create an empty buffer with
:b test
. -
Insert the following text:
** foo
** bar
** something else -
Go to the beginning of the buffer.
-
Select the text with
Vjj
. -
Sort the lines with
M-x org-sort
([a]lpha
). -
Result:
** bar
** foo
** something else
from evil.
Original comment by Anonymous:
Could you wrap the example in
...
so that BitBucket doesn't format it?
Sorry I didn't know how to stop BitBucket's auto format. So here is the org-mode buffer to start with:
** foo
** bar
** something else
Type "V", then "j" to select the first two lines, and M-x org-sort, choose 'a' and the buffer becomes:
** bar**
foo
<blank line>
** something else
which is incorrect, after the sort the buffer should be:
** bar
** foo
** something else
Thanks
from evil.
Original comment by Vegard Øye (Bitbucket: epsil, GitHub: epsil):
I'm not able to reproduce this. Could you wrap the example in ...
so that BitBucket doesn't format it?
from evil.
Original comment by York Zhao (Bitbucket: york, GitHub: york):
Bump this one as I was confused by what "wontfix" means.
from evil.
Original comment by York Zhao (Bitbucket: york, GitHub: york):
This is still problematic, example:
== *** foo
== *** bar
== *** something else
After `org-sort', they become:
== *** bar***
== foo
== *** something else
from evil.
Original comment by Vegard Øye (Bitbucket: epsil, GitHub: epsil):
Fixed in commit 8dd67aa
.
from evil.
Related Issues (20)
- Allow custom Evil states to keep the mark active
- How to rebind "C-g" with "M-g" HOT 2
- Substitution preview for "\#" is incorrect HOT 1
- How do I set a goal column in Evil? HOT 2
- How do I handle `Symbol’s function definition is void: evil-add-to-alist`? HOT 3
- Input method in search and in replace modes doesn't match the currently activated one in insert mode
- Cursor color does not persist HOT 6
- Unable to set certain variables by `:custom` in `use-package` HOT 1
- Incompatibility with package indent-bars HOT 3
- Ex command no longer completes command contain dash (-) HOT 4
- Can’t make ‘nil’ obsolete; did you forget a quote mark? HOT 2
- Arrow Keys behaves like in vi HOT 15
- missing characters when horizontal scrolling if fringe-mode off + truncate-lines + tab indentation
- evil-define-key is not restricted to the mode specified HOT 1
- Yanking to ?+ register does not work in Emacs >=29 HOT 6
- `evil-search` with `isearch` module does not respect `dired-isearch-filenames-mode` starting with Emacs 29
- Restrict adding certain buffers to jump list HOT 6
- `company-complete` results in `(evil-repeat-post-hook): (wrong-type-argument number-or-marker-p nil)`
- Missing Visual Mode command: v_g_CTRL-A HOT 3
- evil-visual-char is not inclusive when using goto-char? HOT 2
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 evil.