Comments (4)
Thanks for the report. No there is no such functionality in rg-define-search
.
Customization for the result buffer name was recently added to master. It could be done dynamically via a function if needed. Maybe you can use that to achieve what you want?
from rg.el.
Where would I do that dynamically? In rg-define-search or outside? I'm running these as a block under use-package so they run only when I need them and not slow down init startup. A quick example in the doc would help. Thanks.
from rg.el.
This is a bit out of scope of this package's main use case so better to do it outside. I am not sure exactly how you would like to use it but something like this seems to fit your description:
(rg-define-search my-search
:query "foo"
:dir current
:files "all")
(defadvice my-search (around my-search-around activate)
"my-search with custom search buffer"
(let ((rg-buffer-name "my search"))
ad-do-it))
from rg.el.
Closing this. Please reopen if you didn't get this working.
from rg.el.
Related Issues (20)
- transient menu's glob filters are overwritten not updated while refining a search. HOT 2
- In rg-dwim, opening the selected file will create a projectile first HOT 5
- Toggle "word mode" HOT 2
- rg-project can not jump with verilog files HOT 1
- Mac rg executable HOT 2
- Feature request to support -C, -A and -B HOT 2
- Searching through a set of files that are listed in a file. HOT 2
- Default `--type` HOT 1
- Potentially enable outline-minor-mode HOT 4
- Error: History should be specified as a symbol HOT 2
- Add Imenu support HOT 2
- rg-isearch-menu should be autoloaded HOT 1
- default-directory is not updated when using rg from an rg-mode buffer HOT 1
- Keep multiple search results' buffers HOT 3
- `M-x rg` never finds matches using Emacs 28.1 on Mac HOT 8
- select the *rg* buffer after running a search HOT 14
- rg.el not works under fish shell HOT 1
- IPv6 addresses often mistaken as line/column numbers HOT 4
- ignore user-specified built-in aliases HOT 2
- Only rg-use-old-defaults seems to work with result buffer HOT 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 rg.el.