Skip Menu |

This queue is for tickets about the Memoize CPAN distribution.

Report information
The Basics
Id: 38785
Status: open
Priority: 0/
Queue: Memoize

People
Owner: Nobody in particular
Requestors: MORITZ [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Vim modeline for Memoize.pm
The unusual indenting style in Memoize.pm (mixed spaces and tabs) makes it very hard to read if your client is configured differently. Attached patch adds a modeline to Memoize.pm so that it will automatically display correctly when viewed with Vim.
Subject: memoize-modeline.patch
diff --git a/lib/Memoize.pm b/lib/Memoize.pm index a7f29de..fb5c143 100644 --- a/lib/Memoize.pm +++ b/lib/Memoize.pm @@ -1045,3 +1045,5 @@ this module in the core and for his patient and helpful guidance during the integration process. =cut + +# vim ts=8 sw=2 noexpandtab
On 2008-08-28 05:41:24, MORITZ wrote: Show quoted text
> The unusual indenting style in Memoize.pm (mixed spaces and tabs) makes > it very hard to read if your client is configured differently. > > Attached patch adds a modeline to Memoize.pm so that it will > automatically display correctly when viewed with Vim.
I think it's an error if a client defines something else than 8 spaces for a tabstop.