smart-scan icon indicating copy to clipboard operation
smart-scan copied to clipboard

Smart-scan does not ignore comments

Open ThibautVerron opened this issue 9 years ago • 0 comments

Hello,

Judging from these lines in the package, smart-scan should jump over occurrences of the symbol/word in strings or comments. It works for strings, but not for comments.

Steps to reproduce:

  1. Enter the *scratch* buffer

  2. Enter the following

    test
    ;; test
    "test"
    ;; test
    test
    
  3. Place point on the first test

  4. Press M-n

As I understand it, point should jump to the last test, instead it jumps to the second and fourth before fifth.

Thanks!

ThibautVerron avatar Dec 16 '14 10:12 ThibautVerron