Comments (8)
Mix of tabs and spaces? That's almost never a good idea. I think that in the last few years almost all indentation styles have converged upon the "spaces only for indentation" style. Enforcing the style is a good idea, though.
from helm.
Jonas Bernoulli
[email protected]
writes:
I just noticed that you indent using spaces only.
My preference is to spaces only.
I think Le fixed this with a local variable.
Otherwise, please just untabify when you make changes
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
from helm.
@thierryvolpiatto I did fix it. In my commit message I mentioned fixes #5
. That's why see the commit in this thread. See github issues for details.
from helm.
I have no problem with spaces-only if it is enforced; like it is now. But
Otherwise, please just untabify when you make changes
caused a lot of problems in the past, I think.
The indentation is messed up a lot in helm-config.el
. These problems have nothing to do with whether one prefers tabs or spaces or both - but I have a feeling that they might result from carelessly converting from one to the other. Anyways, that should no longer be a problem as the preferred style is now enforced. I will send a new pull request with the cleanup.
from helm.
Jonas Bernoulli
[email protected]
writes:
I have no problem with spaces-only if it is enforced; like it is now. But
Otherwise, please just untabify when you make changes
caused a lot of problems in the past, I think.
The indentation is messed up a lot in
helm-config.el
.
Mostly the result of renaming anything to helm e.g with &key arguments
in many functions like helm-comp-read.
These problems have nothing to do with whether one prefers tabs or
spaces or both - but I have a feeling that they might result from
carelessly converting from one to the other. Anyways, that should no
longer be a problem as the preferred style is now enforced. I will
send a new pull request with the cleanup.
Reply to this email directly or view it on GitHub:
#5 (comment)
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
from helm.
Didn't think about this :-)
from helm.
While I am at it... do you want to keep:
(defface helm-apt-deinstalled
....'((t (:foreground "DimGray")))
.."*Face used for apt deinstalled candidates."
..:group 'helm)
instead of
(defface helm-apt-deinstalled
..'((t (:foreground "DimGray")))
.."*Face used for apt deinstalled candidates."
..:group 'helm)
from helm.
What about:
(flet ((some-function (args)
.........fn-code))
..using-fn)
which indent-region
"corrects" to:
(flet ((some-function (args)
......................fn-code))
..using-fn)
I like the former better too, but usually just use:
(flet ((some-function
.........(args)
.........fn-code))
..using-fn)
so that I and indent-region
agree on how this is supposed to be indented.
from helm.
Related Issues (20)
- helm with a list of sources can only select candidates from the first source in the list HOT 2
- helm-echo-input-in-header-line UI bug. HOT 27
- Cannot pre-set 'follow attribute HOT 3
- Error with helm-core : Symbol’s function definition is void: def-edebug-elem-spec HOT 7
- follow-mode messes up Emacs' buffer-list, pseudo-randomized order of buffers on each Helm invocation. HOT 1
- :exit-function called with 'exact STATUS when completion-at-point called on already completed sole completion candidate HOT 9
- Emacs' "while-no-input" prevents discoverability/debugging of all Helm funcs invoked after "helm-update" HOT 7
- helm-source-in-buffer drops last entry when first pattern is negated HOT 3
- when annotation is used with completing-read, negating first pattern yields a "ghost" candidate at top HOT 7
- Endless loop in 'helm-fuzzy-default-highlight-match-1' HOT 4
- endless loop in 'helm-candidates-in-buffer-search-default-fn', re-search-forward HOT 1
- "helm-split-window-default-side 'other" and helm-always-two-windows HOT 3
- helm-find-files fails with invalid-function without-remote-files HOT 9
- helm-find-files-get-candidates is failing since helm-20240407.1400/ HOT 4
- helm-run-after-exit not passing the previous match keyword into next helm session, only if previous match is not result. HOT 9
- Helm buffers path format. Visual clutter. HOT 3
- helm-M-x-execute-command: Symbol’s function definition is void: \(setf\ set-buffer-modified-p\) HOT 4
- Extra space is inserted to helm completion in shell mode HOT 3
- Error msg "Key sequence M - m SPC h SPC d SPC m starts with non-prefix key" HOT 5
- Helm commands fail with truncate-string-ellipsis since todays build HOT 3
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 helm.