Title: Set fill column and/or turn on auto fill mode · Issue #6 · rafl/git-commit-mode · GitHub
Open Graph Title: Set fill column and/or turn on auto fill mode · Issue #6 · rafl/git-commit-mode
X Title: Set fill column and/or turn on auto fill mode · Issue #6 · rafl/git-commit-mode
Description: First, thanks for a great mode! I really like it. I noticed that this mode highlights any portion of the first line that exceeds the recommended 50-character limit. A 72-character limit seems to be a common convention for the rest of the...
Open Graph Description: First, thanks for a great mode! I really like it. I noticed that this mode highlights any portion of the first line that exceeds the recommended 50-character limit. A 72-character limit seems to be...
X Description: First, thanks for a great mode! I really like it. I noticed that this mode highlights any portion of the first line that exceeds the recommended 50-character limit. A 72-character limit seems to be...
Opengraph URL: https://github.com/rafl/git-commit-mode/issues/6
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Set fill column and/or turn on auto fill mode","articleBody":"First, thanks for a great mode! I really like it.\n\nI noticed that this mode highlights any portion of the first line that exceeds the recommended 50-character limit. A 72-character limit seems to be a common convention for the rest of the commit message [1]. Do you think it would be a good idea to codify this convention too?\n\n`auto-fill-mode` makes it very easy to arrange paragraphs with line breaks near a certain column. Just press press `M-q` and the current paragraph will be reflowed. My first proposal is to set the `fill-column` variable to 72 when `git-commit-mode` is activated. This could be as simple as calling `(setq fill-column 72)`, but since I'm pretty new at elisp I don't know the preferred way to set this on mode entry (preferably only in the commit message buffer).\n\nMy other proposal is to turn on `auto-fill-mode` automatically. In my experience the great majority of commit message lines are ordinary text, which should adhere to the 72-character rule. I think it makes sense to have it activated by default. What do you think?\n\nReferences:\n[1] http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html\n","author":{"url":"https://github.com/raek","@type":"Person","name":"raek"},"datePublished":"2012-05-15T22:36:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/6/git-commit-mode/issues/6"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:04549992-e440-490c-7da1-03ea58ebd6fe |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E560:175242:45224A:5FF973:69810273 |
| html-safe-nonce | 99549aa6b62c3ec1ec11b3664a2434734b0fa7bca1acd20693c6324c1c9d2f5c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTYwOjE3NTI0Mjo0NTIyNEE6NUZGOTczOjY5ODEwMjczIiwidmlzaXRvcl9pZCI6IjI4NDY4ODQ4NzMwOTkwODQ0MDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 51c21adc2bfae0e0b2931233b66830e9dc14759ea40aab6204e01c420e450cb5 |
| hovercard-subject-tag | issue:4594724 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/rafl/git-commit-mode/6/issue_layout |
| twitter:image | https://opengraph.githubassets.com/dee44eab94005ecea82ffd89a8c8982dc3948c85d8d157ba4ea7e504f2e7139a/rafl/git-commit-mode/issues/6 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dee44eab94005ecea82ffd89a8c8982dc3948c85d8d157ba4ea7e504f2e7139a/rafl/git-commit-mode/issues/6 |
| og:image:alt | First, thanks for a great mode! I really like it. I noticed that this mode highlights any portion of the first line that exceeds the recommended 50-character limit. A 72-character limit seems to be... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | raek |
| hostname | github.com |
| expected-hostname | github.com |
| None | 39fe8101494cbb823c09b619b68c80cd4d05ab7279997038dbe06bb91608abe1 |
| turbo-cache-control | no-preview |
| go-import | github.com/rafl/git-commit-mode git https://github.com/rafl/git-commit-mode.git |
| octolytics-dimension-user_id | 25669 |
| octolytics-dimension-user_login | rafl |
| octolytics-dimension-repository_id | 703177 |
| octolytics-dimension-repository_nwo | rafl/git-commit-mode |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 703177 |
| octolytics-dimension-repository_network_root_nwo | rafl/git-commit-mode |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d5b34a4e4898b066c629879feb4b184bc471d6a7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width