summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-04-28renaming, reorganizationHEADmainCraig Jennings
- group all functions and variable declarations into their "elements", where elements are the different segments of the modeline (e.g., line-column, filename, vc project and branch, etc.) - move font face declarations with the elements - rename variables to be consistent with internal versus external all internal variables and functions should have -- after feebleline - rename feebleline-msg-functions to feebleline-element-list - rename feebleline-default-settings-on to feebleline-appearance-settings-on - hardcode colors (temporarily) to isolate the invalid face reference issue
2024-04-27Use Emacs's vc backend, misc cleanupCraig Jennings
VC - Use Emacs's vc-backend to identify the project and branch - add branch symbol to indicate the branch in feebleline-git-branch Cleanup - remove unused feebleline-previous-buffer-name - remove legacy settings (Emacs 25 is now old enough to stop supporting) - changed interval timer from 0.1 to 0.2 - provide comment headings and categorized functions underneath - change some variable names for clarity and readability - added new information under contributions
2024-04-27patches applied, bug fixes, reorganization, & miscCraig Jennings
Patches - add requirement on subr-x - changed function name in patch 64 from 'intialize-without-feebleline' and 'end-with-feebleline' to feebleline-disable and feebleline-reenable - Add functions to neutralize/restore feebleline #64 https://github.com/tautologyclub/feebleline/pull/64/commits/4c3d83ef1d62ea2a5f29d3dda2b4b3446aace0d5 - Do not get git branch on tramp files or buffers without a file #65 https://github.com/tautologyclub/feebleline/pull/65/commits/dedb5e327d08bc9e4ac87422a43878ed6557ca94 Bug Fixes - fix alignment code and default to left if alignment not specified - require 'cl-lib rather than 'cl-macs - add defgroup for customization Reorganization - move custom variables, faces, and other constants to top - move feebleline-disable and feebleline-reenable to bottom of code after feebleline-mode is defined to avoid undefined variable issues Misc - add SPDX-License-Identifier for GPL-3.0-or-later - add requires Emacs 25.1 for project and window divider functionality - add feebleline-file-or-buffer-face face - nearly all documentation strings improved many missing ones added - remove all stray disabled code
2024-04-27add lexical binding statementCraig Jennings
2019-08-22Merge pull request #46 from jcs-PR/wdctautologyclub
Disable window-divider when deactive.
2019-08-22Merge branch 'master' into wdcJen-Chieh Shen
2019-08-22Merge pull request #45 from jcs-PR/ml-toggletautologyclub
Working version to fixed mode-line toggle issue.
2019-08-22Merge pull request #43 from tautologyclub/developmenttautologyclub
Enable getting git branch w/o magit
2019-08-22Ignore stderr when getting git branchBenjamin Lindqvist
2019-08-22Enable getting git branch w/o magitBenjamin Lindqvist
Force push fix for removing newline
2019-08-22Merge pull request #38 from rgiar/mastertautologyclub
autoload magit to prevent errors, log future errors once to *Messages*
2019-07-21Use walk window.jenchieh
2019-07-21Fixed with window.jenchieh
2019-07-21Use simplified version to walk through windows.jenchieh
2019-07-21Use previous instead.jenchieh
2019-07-12Disable window-divider when deactive.jenchieh
2019-07-11Cleanup count window.jenchieh
2019-07-11Working version to fixed mode-line toggle issue.jenchieh
2019-07-11Merge pull request #44 from jcs-PR/typotautologyclub
Return project name without projectile.
2019-07-11Return project name without projectile.JenChieh
2019-07-11Merge pull request #41 from jcs-PR/typotautologyclub
Fixed typo in README.md
2019-07-11Merge pull request #42 from ether42/mastertautologyclub
Fix right alignment
2019-07-10Fix right alignmentKevin Boulain
2019-07-10Fixed typo.JenChieh
2019-06-30display errors inserting modeline info, onceRob Giardina
2019-06-30autoload magit if neededRob Giardina
2019-04-02Only check file-remote-p if buffer is fileBenjamin Lindqvist
2019-04-02Merge pull request #35 from tautologyclub/developmenttautologyclub
Development
2019-04-02Update README.md for new "release"Benjamin Lindqvist
2019-04-02Disable git branch info when file is remoteBenjamin Lindqvist
Using magit-get-current-branch caused emacs to completely blow up when using tramp. Workaround is to not even try on remote files, just return "-"
2019-04-02Don't bloat echo area verticallyBenjamin Lindqvist
2018-10-30Merge pull request #33 from ether42/alignmenttautologyclub
Less hackish alignment handling
2018-10-21update readmeKevin Boulain
2018-10-21replace hard-coded nameKevin Boulain
2018-10-21less hackish alignment handlingKevin Boulain
It could easily be extended to provide middle alignment if desired.
2018-10-11removed magit-get-current-branch as default option (should recommend in ↵benjamin
README tho)
2018-10-11Selective merge of PR#30 (:keywords added, mainly)benjamin
2018-10-11forgot to include the actual error ignoring in last commitbenjamin
2018-10-08review: don't require magitKevin Boulain
User should load magit if desired. Or simply remove the function from feebleline-msg-functions.
2018-10-06use keywords instead of alist in feebleline-msg-functionsKevin Boulain
So it's a bit easier to customize.
2018-10-06always return line and column numbersKevin Boulain
For example, buffer-file-name returns nothing for the scratch buffer, which is probably not what we want.
2018-10-06magit-get-current-branch may not be bound or return anythingKevin Boulain
It's probably better to try to import the required packages than to check if it is bound because the user may not load magit itself. Also fallback on rev-parse to display something in case the branch isn't available (for example, detached HEAD).
2018-10-04Slight cleanup + catch errors when echoingbenjamin
2018-10-03New customization API == strict improvementbenjamin
2018-10-02Prototype customization improvementbenjamin
2018-10-02Merge branch 'master' of https://github.com/tautologyclub/feebleline into ↵benjamin
development
2018-09-14use magit's function to obtain git branchbenjamin
The old method was just incredibly hacky and bad. If magit is not installed, we still use the old method as fallback (but who doesn't use magit anyway)
2018-09-11Merge remote-tracking branch 'origin/master'benjamin
2018-09-11Made it possible to not show linenum info in feebleline. Solves #22benjamin
2018-08-02Merge pull request #20 from Dickby/mastertautologyclub
redraw the modeline when feebleline is toggled off