Comments (4)
goto-line
を使うべき所にforward-line
を使っているのが問題と考えます。
以下の行でforward-line
をgoto-line
に変更し、byte-compileし直してみてください:
- 1268行目, 1271行目 (in
moccur-view-file
) - 2136行目 (in
moccur-grep-goto
) - 2934行目 (in
moccur-mode-goto-occurence
) - 3135行目 (in
moccur-mode-start-ee-switch-before-buffer
)
この変更でmoccur-grep-find
だけでなく、以下の不具合も修正できます:
(1) moccur bufferから、検索対象bufferの対応する場所へ飛べない
(2) moccur bufferのカーソル移動で、検索対象bufferの対応箇所に移動しない
なお、私の環境は:
- Emacs 24.3.1 w/ Ubuntu 14.04LTS (i386)
- Emacs 25.0.50.3 (a8856cb50b6a99c23664cdb3c66b480bf880edcf) w/ Debian Sid (x86_64)
です
from color-moccur.el.
遅くなってすみません。
goto-lineはマークリングを汚すので、forward-lineを残しながら修正してみました。
お試しください。
from color-moccur.el.
修正ありがとうございます。正しい動作を確認できました。
goto-lineはマークリングを汚す
goto-line
のdocumentをよく見たら:
This function is usually the wrong thing to use in a Lisp program.
とありました。適当過ぎるworkaroundですみませんでした。
from color-moccur.el.
反応が遅くなってしまってすみません。。
対応ありがとうございました。
こちらの環境でも、M-x auto-install で入れていたバージョンから、
cask 経由でインストールする方へ切り替えて問題なく動作していることを確認しました。
color-moccur.el、検索は遅いものの、ag.el + wgrep.el よりも UI が使いやすく重宝しているので助かりました。
from color-moccur.el.
Related Issues (6)
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 color-moccur.el.